Open Dominique-M opened 1 year ago
I'm able to reproduce the issue with the following TEI document:
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>Some text here with an <index><term>index term</term></index> that seems to break the paragraph.</p>
</body>
</text>
</TEI>
The result looks like:
NB, I did not use OxGarage for this but checked with TEI Stylesheets bin/teitoodt
. So, this is not an issue introduced by TEIGarage but rather a bug in the underlying stylesheets. I will move the issue there.
The conversion ignores the content of index,term elements inside a p element, but there is no reason to break the content of the p at that point. The index,term elements should simply be ignored (not only their content).