Bug 34666 - HTML import: unsupported tag causes comments import troubles
Summary: HTML import: unsupported tag causes comments import troubles
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 3.3.1 release
Hardware: All All
: medium minor
Assignee: Christina Rossmanith
QA Contact:
URL:
Whiteboard: EasyHack
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 07:21 UTC by sasha.libreoffice
Modified: 2012-04-10 02:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
in Writer appesrs comment (18.40 KB, text/html)
2011-02-24 07:21 UTC, sasha.libreoffice
Details
Really simplfied document showing the problem (1.12 KB, text/html)
2011-03-03 02:40 UTC, Cédric Bosdonnat
Details

Description sasha.libreoffice 2011-02-24 07:21:20 UTC
Created attachment 43754 [details]
in Writer appesrs comment

When I open this file it Web browser, it opens ok (without pictures).
But in LibreWriter in begining of document appears comment.
In openoffice no problem.
Comment 1 Cédric Bosdonnat 2011-03-03 02:37:49 UTC
The problem comes from this invalid tag in the HTML file
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"/>

If this tag is moved inside the comment following it, that comment is properly handled.

The code handling the parsing the HTML is here:
http://opengrok.libreoffice.org/xref/writer/sw/source/filter/html/swhtml.cxx#961
Comment 2 Cédric Bosdonnat 2011-03-03 02:40:51 UTC
Created attachment 44064 [details]
Really simplfied document showing the problem
Comment 3 Anthony Durity 2011-04-19 04:23:35 UTC
Why is this set to RESOLVED -> FIXED ?
Comment 4 Anthony Durity 2011-04-19 05:12:29 UTC
See https://bugs.freedesktop.org/show_bug.cgi?id=36080#c2 for a patch that should fix this issue. The attached simplified file now loads up ok for me.
Comment 5 Rainer Bielefeld Retired 2012-04-10 02:42:53 UTC
EasyHack tags unification: tags only allowed in Whiteboard to make queries more easy and reliable


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.