emmental / isetools

Tools for parsing data for the Internet Shakespeare Editions
GNU General Public License v2.0
1 stars 0 forks source link

extra blank line generated before QUOTE #16

Open telic opened 7 years ago

telic commented 7 years ago

The XMLWriter creates an erroneous blank line just before QUOTE if any inline elements (TLN, S, etc) are opened before it on a line.

E.g. the IML <L/><QUOTE>test</QUOTE> currently produces

<l/>
<quote>
  <l>test</l>
</quote>

but that initial empty line shouldn't be there.

telic commented 7 years ago

I noticed this specifically on TLN 850 of 1H4_F1.

telic commented 7 years ago

Also seen at TLN 781 of 1HW_Q2