src/system/helpers.cpp - htmlEntityDecode(): Add various html codes

Origin commit data
------------------
Branch: ni/coolstream
Commit: 409df1b809
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-02 (Sun, 02 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-03-02 14:20:13 +01:00
parent 150162796e
commit 45c6c54fb7

View File

@@ -425,12 +425,19 @@ std::string& htmlEntityDecode(std::string& text)
};
decode_table dt[] =
{
{" ", "&nbsp;"},
{" ", "&nbsp;"},
{"&", "&amp;"},
{"<", "&lt;"},
{">", "&gt;"},
{"\"", "&quot;"},
{"'", "&apos;"},
{"", "&euro;"},
{"", "&#8211;"},
{"", "&#8220;"},
{"", "&#8221;"},
{"", "&#8222;"},
{"", "&#8226;"},
{"", "&#8230;"},
{NULL, NULL}
};
for (int i = 0; dt[i].code != NULL; i++)