]> git.lyx.org Git - lyx.git/commit
LyXHTML: switch the doctype to (X)HTML5 and only output XML entities.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 23 Dec 2022 01:16:08 +0000 (02:16 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 25 Dec 2022 19:48:14 +0000 (20:48 +0100)
commitbc73a85778ffb1432bdc510d9a710e7394f42163
tree32c583a4397258ba6364349d6014c28af0d30105
parentd85969b8b870c6b81c515b4885588e99da1110aa
LyXHTML: switch the doctype to (X)HTML5 and only output XML entities.

This is a new take on c8e2c17a that was reverted at da67bde61af due to entities no more recognised by the browsers. Corresponding thread on the mailing list: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213179.html

This patch is a huge cleanup overall, by removing the distinction between HTML and XML entities (the latter arrived due to the DocBook support).

In InsetListingParams, I also changed the mechanism that relied on &quot; to use an XML entity to be consistent with the rest of the code, mostly in case someone looks for HTML entities and wonders why they are still there.
31 files changed:
lib/RELEASE-NOTES
src/Buffer.cpp
src/LaTeXFeatures.cpp
src/LaTeXFeatures.h
src/Layout.cpp
src/Paragraph.cpp
src/insets/InsetLayout.cpp
src/insets/InsetListingsParams.cpp
src/insets/InsetQuotes.cpp
src/insets/InsetQuotes.h
src/insets/InsetSpace.cpp
src/insets/InsetSpecialChar.cpp
src/mathed/InsetMathBig.cpp
src/mathed/InsetMathChar.cpp
src/mathed/InsetMathDecoration.cpp
src/mathed/InsetMathDelim.cpp
src/mathed/InsetMathDots.cpp
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathMacro.cpp
src/mathed/InsetMathMatrix.cpp
src/mathed/InsetMathRoot.cpp
src/mathed/InsetMathSpace.cpp
src/mathed/InsetMathSqrt.cpp
src/mathed/InsetMathSymbol.cpp
src/mathed/InsetMathXArrow.cpp
src/mathed/MacroTable.cpp
src/mathed/MacroTable.h
src/mathed/MathFactory.cpp
src/mathed/MathParser.h
src/mathed/MathStream.cpp
src/mathed/MathStream.h