mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -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