faustedition / faust-gen-html

Pipelines to generate HTML for the Faust edition's reading texts and prints.
1 stars 4 forks source link

Spurious 
 #479

Closed gerritbruening closed 6 years ago

gerritbruening commented 6 years ago

Example: grafik

In the IDML result I see

                  <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/Kursiv">
                     <Content>H</Content>
                  </CharacterStyleRange>
                  <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]">
                     <Content> </Content>
                  </CharacterStyleRange>
                  <CharacterStyleRange>
                     <Content>&#x2028;</Content>
                  </CharacterStyleRange>
                  <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/(Ohne) Teil">
                     <Content>Faust.</Content>
                  </CharacterStyleRange>

Where does this &#x2028; come from?

pglatza commented 6 years ago

The line-break (&#x2028;) is inserted for every head-element in a textcrit-note. I am sorry for asking late: how should the head element formatted? No line-break? Whitespace before/after?

gerritbruening commented 6 years ago

I am sorry that I did not look into the source data before creating this issue. Now fixed in the data, no head anymore.