TEIC / Stylesheets

TEI XSL Stylesheets
231 stars 124 forks source link

no space between children of `<choice>`? #548

Open sydb opened 2 years ago

sydb commented 2 years ago

I have not investigated this thoroughly, but the following passage from att.pointing.xml

      <choice><abbr>IETF</abbr><expan>Internet Engineering Task
      Force</expan></choice> definitions.</p></remarks>

gets rendered as

<span class="abbr"> (IETF)</span><span class="expan">Internet Engineering Task Force</span> definitions.

in the output HTML. There is no space between the abbreviation (which is in parens) and its expansion. I have not yet checked if this would be true for other uses like <sic> & <corr> or <expan> first, but we only have 5 <choice> elements in the English Guidelines, and they each have 1 child <abbr> and 1 child <expan> (in both orders).

P.S. All 3 that have <abbr> first are exactly like this: <abbr>IETF</abbr> then <expan>Internet Engineering Task Force</expan> with no space between; both that have <expan> first are not IETF, and have an explicit space between.