<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - HTML-Export: Doctype doesn't coincide with end of Standalone-Tag"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126879">126879</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HTML-Export: Doctype doesn't coincide with end of Standalone-Tag
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.0.4 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>filters and storage
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>robert@familiegrosskopf.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Open a empty writer page.
Save it as "HTML".
Have a look at the HTML-code.
It will look like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="LibreOffice 6.3.0.4 (Linux)"/>
<br/>

There is a DOCTYPE HTML 4.0 (which is obsolete since 1999!) and every
standalone tag ends with "/>", which is only allowed with HTML5 or XHTML.

Two possible solutions:
1) Set <!DOCTYPE html> instead of the very old DOCTYPE. It will set the
document to HTML5.
2) Remove all frontslashes followed by ">".

I would prefer to go forward, not back to 1999!

All tested with LO 6.3.0.4 (see above), OpenSUSE 15 64bit rpm Linux.</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>