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>
This commit is contained in:
committed by
Xisco Fauli
parent
d015989279
commit
28341f0b10
@@ -150,6 +150,7 @@
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_lt "lt"
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_gt "gt"
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_amp "amp"
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_apos "apos"
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_quot "quot"
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_Aacute "Aacute"
|
||||
#define OOO_STRING_SVTOOLS_HTML_C_Agrave "Agrave"
|
||||
|
||||
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user