mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
src/system/helpers.cpp - htmlEntityDecode(): Add various html codes
This commit is contained in:
@@ -425,12 +425,19 @@ std::string& htmlEntityDecode(std::string& text)
|
||||
};
|
||||
decode_table dt[] =
|
||||
{
|
||||
{" ", " "},
|
||||
{" ", " "},
|
||||
{"&", "&"},
|
||||
{"<", "<"},
|
||||
{">", ">"},
|
||||
{"\"", """},
|
||||
{"'", "'"},
|
||||
{"€", "€"},
|
||||
{"–", "–"},
|
||||
{"“", "“"},
|
||||
{"”", "”"},
|
||||
{"„", "„"},
|
||||
{"•", "•"},
|
||||
{"…", "…"},
|
||||
{NULL, NULL}
|
||||
};
|
||||
for (int i = 0; dt[i].code != NULL; i++)
|
||||
|
Reference in New Issue
Block a user