Offene-Bibel / converter

GNU General Public License v3.0
2 stars 1 forks source link

OSIS export: Allow Wikitext to contain a quote within italic text. Su… #22

Closed skreutzer closed 9 years ago

skreutzer commented 9 years ago

…perscript added. The Wikitext

''„Folge mir nach!“''

previously resolved to

<hi type="italic">„<q marker="" sID="Mark.2_q_tag_64"/>Folge mir nach!<q marker="" eID="Mark.2_q_tag_64"/>“</hi>

As isn't allowed within (reserved for markup of text nodes), this change wraps around like this:

<hi type="italic">„</hi><q marker="" sID="Mark.2_q_tag_64"/><hi type="italic">Folge mir nach!</hi><q marker="" eID="Mark.2_q_tag_64"/><hi type="italic">“</hi>

Please note that this change only covers OSIS output produced with option --lineGroupUnmilestoned.