<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kendy@collabora.com" title="Jan Holesovsky <kendy@collabora.com>"> <span class="fn">Jan Holesovsky</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE HTML: Comments are added after exporting to HTML"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107677">bug 107677</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;">Keywords</td>
           <td>regression
           </td>
           <td>difficultyInteresting, easyHack, skillCpp
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE HTML: Comments are added after exporting to HTML"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107677#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE HTML: Comments are added after exporting to HTML"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107677">bug 107677</a>
              from <span class="vcard"><a class="email" href="mailto:kendy@collabora.com" title="Jan Holesovsky <kendy@collabora.com>"> <span class="fn">Jan Holesovsky</span></a>
</span></b>
        <pre>Heh, I don't think this is a regression :-)  The functionality to insert
comment for meta-tags was there previously, so for pages that have the correct
specification of the time you'd see it too.

It was only that LibreOffice was ignoring its own malformed meta tags
previously, but after they are fixed, they started appearing on re-import.

Having said that - I can imagine that we could actually read the meta tags
correctly, instead of showing them as comments :-)  Let's turn this into an
easy hack:

The actual postit note is added in SwHTMLParser::ParseMoreMetaOptions() in
sw/source/filter/html/swhtml.cxx, see SwPostItField aPostItField etc. at the
very end of that method.

Instead of this, we want to have an 'if' for
OOO_STRING_SVTOOLS_HTML_META_created and OOO_STRING_SVTOOLS_HTML_META_changed,
and handle that similarly to how is HtmlMeta::Created and HtmlMeta::Changed
handled in svtools/source/svhtml/parhtml.cxx, see
HTMLParser::ParseMetaOptionsImpl().</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>