LibreOffice is able to export document in XHTML format and to save them as HTML4. However, HTML5 is now becoming the new standard to publish Web pages and an export filter for that could be implemented. This is especially interesting to be able to include mathematical formulas in Web pages using MathML, as currently done by the XHTML export filter.
Agreed and confirmed. Status set to NEW. No such facility has ever existed so Version set to Inherited From OOo. (In response to comment #0) > LibreOffice is able to export document in XHTML format and to save them as HTML4. Draw and Impress can also export to HTML4.
Setting version back from "Inherited From OOo" to what it was prior (for bugs marked enhancement), for QA tracking purposes. My mistake. Apologies.
Math already can export MathML [1]. [1] https://wiki.documentfoundation.org/images/3/37/MG40-MathGuide.pdf
See showcase and description in bug 90704
*** Bug 90704 has been marked as a duplicate of this bug. ***
Reproduced with: Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: e3086b58eb5427d520b86c185f9d911bb6f7a3a0 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-21_15:37:11 Calc: threaded Save as > HTML exports the formula as a .gif (whereas XHTML export uses MathML) Adding Accessibility meta as exporting a formula as an image rather than a MathML makes it unavailable to screen readers, and the style cannot be modified for improved readability: "MathML is important for accessibility and web standards because it allows equations to be stored as structured text. It can be reformatted with CSS, expanded with good resolution for low-vision users. Most importantly, is that if a screen reader can process MathML, a blind users can navigate and review parts of an equation, such as the top portion of a complex fraction." Source: https://accessibility.psu.edu/math/mathml/
Created attachment 173106 [details] Test ODT with formula object Adding an example formula object in an ODT file to easily test "Save as > HTML".