PeerJ / jats-conversion

Conversion and validation for JATS XML
MIT License
51 stars 29 forks source link

Only one of mulitple style attributes is rendered #177

Open GrazingScientist opened 3 years ago

GrazingScientist commented 3 years ago

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?