Vitaliy-1 / JATSParserPlugin

OJS3 Plugin for parsing JATS XML and displaying it on article detail page
GNU General Public License v3.0
27 stars 24 forks source link

Table cell content is not displayed if surrounded by <p> </p> tags #52

Open gabeLon opened 3 years ago

gabeLon commented 3 years ago

Hi Vitaliy, hope you are doing well. Our online text editor (Typeset.io) has recently changed their JATS formatting, and now they are including

tags surrounding every table cell content. So,

<td id="tc-ee8f2569c952" align="center">
   <p id="p-7a21351a9ec2">Colonoscopia</p>
</td>

must be manually rearranged to

<td id="tc-ee8f2569c952" align="center">
    Colonoscopia
 </td>

to be displayed using oldGregg. When using default OJS template, the cell content shows fine, even with

tags on cell content.

Maybe this is a JatsParser problem. Do you think is it possible to correct it?

Many thanks in advance.

Vitaliy-1 commented 3 years ago

Hi @gabeLon,

I've transferred it to the JATS Parser Plugin repo. The plugin should parse correctly both but I'll re-check.

gabeLon commented 3 years ago

Thanks, I'll be waiting for your updates!