diff options
author | Damjan Jovanovic <damjan@apache.org> | 2023-01-03 08:41:13 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-20 14:45:17 +0000 |
commit | 28341f0b107b7bcd1377cec68c90eee9c4f27e1c (patch) | |
tree | 1c19e39debf18630e5f3138fdc2d152ae43b6794 /svtools | |
parent | d0159892793860e53ddc068b4bdb707a521def19 (diff) |
tdf#154273: Add the "'" entity definition to our HTML parser...
... so that we can correctly read it and convert it a "'",
but when writing to HTML write out the "'" directly for now.
Fixes: https://bz.apache.org/ooo/show_bug.cgi?id=80657
Patch by: me
Cherry-picked from
https://github.com/apache/openoffice/commit/3304210c5c53f441cdb2c462fbbf6d8351380b01
"Add the "'" entity definition to our HTML parser, so that we can…"
Change-Id: I10d07af5f49d2432d99a79318d9d95b0bc976637
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149150
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/htmlkywd.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx index 584322fac8bc..5f81b3e3ca30 100644 --- a/svtools/source/svhtml/htmlkywd.cxx +++ b/svtools/source/svhtml/htmlkywd.cxx @@ -203,6 +203,7 @@ static HTML_CharEntry aHTMLCharNameTab[] = { {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_C_lt), 60}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_C_gt), 62}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_C_amp), 38}, + {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_C_apos), 39}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_C_quot), 34}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_C_Agrave), 192}, |