InDesign 2027 EPUB export replaces letters with spaces in XHTML class names and truncates CSS selectors
InDesign 2027, version 22.0.0.104, on macOS 27.2.1 (build 26B131). This appears to be the same bug as UserVoice issue ID‑4228495, where comments are closed.
Steps to reproduce
1. Create a new InDesign document with one paragraph and one custom paragraph style named capitulo.
2. In the style’s Export Tagging settings, set the EPUB class to capitulo and enable Emit CSS.
3. Apply the style to the paragraph and export to reflowable EPUB.
4. Open the EPUB archive and inspect the generated XHTML and CSS.
Expected: The XHTML contains class="capitulo" and the CSS contains the selector p.capitulo.
Actual: The XHTML contains class="capi ulo": the t is replaced by an ordinary space (U+0020). The generated CSS contains p.capi, so the selector is cut at that space. In a production book, three distinct paragraph styles collapsed to the same p.n selector. The corruption is present in the exported EPUB.
Reproducibility: The affected letter persisted across repeat exports within the same InDesign session but changed after restarting InDesign. We observed u, then v, then t. Restarting did not reliably fix the problem. The one-style test above reproduced it when t was the affected letter.
Additional test: Quitting and reopening InDesign alone changed which letter was affected but did not reliably fix the export. On a later attempt, I quit InDesign, stopped the remaining Adobe background processes, and reopened InDesign. Both the test document and the production book then exported with intact XHTML class names and CSS selectors. I haven’t isolated which process, if any, made the difference.
Related reports
- UserVoice ID‑4228495 — the same letter-to-space substitution, also reported on macOS: https://indesign.uservoice.com/forums/601180-adobe-indesign-bugs/suggestions/32144215-export-tagging-i-character-in-class-name-export?page=1&per_page=20
- UserVoice duplicate — Colour exported as Colo r: https://indesign.uservoice.com/forums/601180-adobe-indesign-bugs/suggestions/42025654-export-to-epub-html-removes-single-characters-fr?category_id=209104
- Adobe Community — box exported as bo : https://community.adobe.com/questions-671/indesign-removing-x-s-from-export-tags-during-epub-export-863683
- Adobe Community — distinct export classes collapsed to short CSS selectors; related symptom, but the cause wasn’t confirmed: https://community.adobe.com/questions-671/getting-css-name-collision-when-all-class-names-are-different-896093