<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:tietze.heiko@gmail.com" title="Heiko Tietze <tietze.heiko@gmail.com>"> <span class="fn">Heiko Tietze</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Change multiple spaces to &nbsp; upon HTML export"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115326">bug 115326</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Change multiple spaces to &nbsp; upon HTML export"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115326#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Change multiple spaces to &nbsp; upon HTML export"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115326">bug 115326</a>
              from <span class="vcard"><a class="email" href="mailto:tietze.heiko@gmail.com" title="Heiko Tietze <tietze.heiko@gmail.com>"> <span class="fn">Heiko Tietze</span></a>
</span></b>
        <pre>(In reply to Buovjaga from <a href="show_bug.cgi?id=115326#c5">comment #5</a>)
<span class="quote">>  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.</span >

In HTML, &nbsp; is a non-breaking space and a bad workaround IMHO for multiple
spaces (#20). The correct symbol for tab is "&#09;" while we save the plain #9,
and "&#32;" 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.


<a href="https://www.w3.org/MarkUp/html-spec/html-spec_13.html">https://www.w3.org/MarkUp/html-spec/html-spec_13.html</a>
<a href="https://www.w3.org/MarkUp/html3/specialchars.html">https://www.w3.org/MarkUp/html3/specialchars.html</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>