[Libreoffice-ux-advise] [Bug 115326] Change multiple spaces to   upon HTML export

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 24 09:40:58 UTC 2018


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

Heiko Tietze <tietze.heiko at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #6 from Heiko Tietze <tietze.heiko at gmail.com> ---
(In reply to Buovjaga from comment #5)
>  HTML standard does not support tab characters,
> so it does not make sense to export them as HTML and expect them to look the
> same.

In HTML,   is a non-breaking space and a bad workaround IMHO for multiple
spaces (#20). The correct symbol for tab is "	" while we save the plain #9,
and " " for space (we save #20). Makes no difference though to change this.

Encapsulating multiple white spaces in <pre></pre> notation works as expected
but I'm not sure if combining <pre> with normal text in one line is possible.
In the end, HTML separates clearly between content and style and formatting
with multiple white spaces is out of scope (and NOB thereby). Not to forget
that the width of tabs can be defined freely in LibreOffice but is fix in HTML.


https://www.w3.org/MarkUp/html-spec/html-spec_13.html
https://www.w3.org/MarkUp/html3/specialchars.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list