Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only one of mulitple style attributes is rendered #13

Closed
GrazingScientist opened this issue May 26, 2021 · 2 comments
Closed

Only one of mulitple style attributes is rendered #13

GrazingScientist opened this issue May 26, 2021 · 2 comments

Comments

@GrazingScientist
Copy link
Contributor

When having something like

<table>
    <td id="table-cell-1234" align="center" style="background-color: royalblue">ABC</td>
</table>

In the HTML, only the text-align: center is realized in my table. The color is ignored. However, I would expect that both attributes are stacked to give the final style.

The problem is that the add-style template in the XSLT does not acknowledge any already present style attributes. Can this be realized?

@ajnyga
Copy link
Owner

ajnyga commented May 26, 2021

I have not really touched the XSLT. Did you check whether https://github.com/PeerJ/jats-conversion has a better version for this?

@GrazingScientist
Copy link
Contributor Author

Sorry! I did not realize that you did not author the XSL converter. I duplicated it (:smiling_imp:) in the corresponding repo: PeerJ/jats-conversion#177

-> Close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants