Page Navigation markers for EPUB interrupt hyphenated words
- May 15, 2024
- 5 replies
- 1868 views
When using the "Page Navigation" export option for reflowable EPUB exports, InDesign adds a <span> with a blank space character in the HTML export instead of the soft hyphen that was present in the print layout:
<p class="bodytext">Idel illandia suntusdae quoditint debitatissit quam quamus magnimus es quiaeper elor eper<span id="page2" role="doc-pagebreak" aria-label="2" epub:type="pagebreak"> </span>nat quo con re nimus?</p>
The W3C recommendation for page break markers is a self-closing <span> tag, which would look like this for the above example:
<span id="page2" role="doc-pagebreak" aria-label="2" epub:type="pagebreak"/>
<p class="bodytext">Idel illandia suntusdae quoditint debitatissit quam quamus magnimus es quiaeper elor eper<span id="page2" role="doc-pagebreak" aria-label="2" epub:type="pagebreak"/>nat quo con re nimus?</p>
The current behaviour creates errors on EPUB export which are not present in the indd file - please change this to conform to the W3C recommendation.
