eeditiones / tei-publisher-app

The main TEI Publisher app
https://teipublisher.com
GNU General Public License v3.0
68 stars 33 forks source link

List headers are not rendered in epub #118

Closed ccheraa closed 1 year ago

ccheraa commented 2 years ago

When you generate an epub, a head element inside alist element should be rendered as the list's header, however, it will be omitted

When you use this code to generate an epub:

<list>
    <head>head</head>
    <item>item 1</item>
    <item>item 2</item>
    <item>item 3</item>
</list>

Actual result:

<ul class="tei-list2">
    <li class="tei-item">item 1</li>
    <li class="tei-item">item 2</li>
    <li class="tei-item">item 3</li>
</ul>

Expected result:

<ul class="tei-list2">
    <li class="tei-head5">head</li>
    <li class="tei-item">item 1</li>
    <li class="tei-item">item 2</li>
    <li class="tei-item">item 3</li>
</ul>
tuurma commented 1 year ago

This is an ODD issue, not TEI Publisher as such. There's no guarantee that the teiSimplePrint odd covers all cases correctly and it's TEI consortium's responsibility, if anyone's.