https://bugs.documentfoundation.org/show_bug.cgi?id=152469

--- Comment #5 from Stéphane Guillou (stragu) 
<[email protected]> ---
Created attachment 188623
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188623&action=edit
example ODT with tab, space and NBSp indentation

In this example document, exporting to PDF preserves the indentations as
displayed in Writer. (Although copying the text will not include leading tabs
or spaces, and will therefore not be as useful when e.g. pasting into a code
editor.)

Exporting to EPUB 3.0:
- the tab is converted to 15 non-breaking spaces (&nbsp;) – which is way too
much
- indentations consisting of any number of spaces are collapsed to a single
non-breaking space
- here is a workaround: indentations consisting of non-breaking spaces inserted
in Writer with Ctrl + Shift + Space are preserved.

Even though this workaround exists, it would be ideal to have normal spaces
exported as as many non-breaking spaces instead of collapsing them to a single
one (at least as an option).

Another related question on ask.lo:
https://ask.libreoffice.org/t/epub-output-text-in-frames-all-leading-space-gone-how-to-make-this-work/83185

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 24d0a62bd75b9a895c419aa165da648ab18f134d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to