From 1343a3ae9ebd52103c3560c96f5ad52d542098c3 Mon Sep 17 00:00:00 2001 From: spx Date: Thu, 9 Sep 2010 09:59:30 +0000 Subject: [PATCH] [WebParser] Added new character entity ' --- Plugins/PluginWebParser/WebParser.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Plugins/PluginWebParser/WebParser.cpp b/Plugins/PluginWebParser/WebParser.cpp index eb4e1912..8a12e55d 100644 --- a/Plugins/PluginWebParser/WebParser.cpp +++ b/Plugins/PluginWebParser/WebParser.cpp @@ -253,11 +253,14 @@ std::wstring& DecodeReferences(std::wstring& str, int opt) void FillCharacterEntityReferences() { - // List from: http://www.w3.org/TR/html4/sgml/entities.html + // List from: + // http://www.w3.org/TR/html4/sgml/entities.html + // http://www.w3.org/TR/xhtml1/#C_16 // for markup-significant and internationalization characters g_CERs[L"quot"] = (WCHAR)34; g_CERs[L"amp"] = (WCHAR)38; + g_CERs[L"apos"] = (WCHAR)39; g_CERs[L"lt"] = (WCHAR)60; g_CERs[L"gt"] = (WCHAR)62; g_CERs[L"OElig"] = (WCHAR)338;