Bug 66037 - FILEOPEN: MathML formulas in HTML documents are not imported correctly, HTML5 import filter needed
Summary: FILEOPEN: MathML formulas in HTML documents are not imported correctly, HTML5...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected) Master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: HTML-Import MathML
  Show dependency treegraph
Reported: 2013-06-22 09:08 UTC by Frédéric Wang
Modified: 2021-09-03 12:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

testcase (371 bytes, text/html)
2013-06-22 09:08 UTC, Frédéric Wang

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang 2013-06-22 09:08:02 UTC
Created attachment 81198 [details]

This this the counterpart of bug 66036 for FILEOPEN. The Word Processor is able to open and save ODT documents with mathematical formulas, and they are encoded as MathML. However when opening HTML document, the MathML formulas are imported as text nodes and thus the formatting is totally wrong. For example in the attached testcase, the MathML formula becomes

Here is a fraction:
x y x over y
Comment 1 Regina Henschel 2013-06-22 09:32:58 UTC
There exists no HTML5 import filter, therefore the default import filter 'txt' is used.

This is a request for enhancement.
Comment 2 Frédéric Wang 2013-06-22 10:39:48 UTC
Should this be moved to the "filters and storage" component?