https://bugs.documentfoundation.org/show_bug.cgi?id=107677
Jan Holesovsky <ke...@collabora.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|regression |difficultyInteresting,
| |easyHack, skillCpp
--- Comment #4 from Jan Holesovsky <ke...@collabora.com> ---
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().
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs