<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:stephane.guillou@member.fsf.org" title="stragu <stephane.guillou@member.fsf.org>"> <span class="fn">stragu</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - XHTML: No Space Between Section Number and Title"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142352">bug 142352</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;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr>

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

         <tr>
           <td style="text-align:right;">Blocks</td>
           <td>
                
           </td>
           <td>108799
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - XHTML: No Space Between Section Number and Title"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142352#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - XHTML: No Space Between Section Number and Title"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142352">bug 142352</a>
              from <span class="vcard"><a class="email" href="mailto:stephane.guillou@member.fsf.org" title="stragu <stephane.guillou@member.fsf.org>"> <span class="fn">stragu</span></a>
</span></b>
        <pre>File for reproducing is <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=81633" name="attach_81633" title=".odt whose export shows the errant section numbering">attachment 81633</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=81633&action=edit" title=".odt whose export shows the errant section numbering">[details]</a></span>

I can confirm the spacing issue in LO 7.2 alpha1: the XHTML export has the
title right next to the number once you get to level 2 headings.

It's like the export does not save the "width of numbering" setting (which you
can see in Tools > Chapter Numbering > Position. It is set to 1.52 cm for
headings of level 2 and above in this document.). In Writer, if you create a
heading with style "Heading 5", you will see that you also end up not having
any spacing between the numbers and text (because the numbering ends up taking
1.52 cm or more).

Maybe the title of this report should be "XHTML export does not save width of
numbering"?

Note that the same document saved as HTML doesn't keep that width of numbering
either.

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 4a9eef7849a75ba91806886ea9c96d114c8d56f9
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2021-05-22_06:45:25
Calc: threaded</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] HTML export bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108799">Bug 108799</a>] [META] HTML export bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

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

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