remove unused html en/decoding entities, we use JSON now

This commit is contained in:
Dennis Luxen 2015-03-30 12:40:54 +02:00
parent 5bed7f292f
commit 6933804aa4

View File

@ -126,10 +126,6 @@ inline std::string escape_JSON(const std::string &input)
return output; return output;
} }
static std::string originals[] = {"&", "\"", "<", ">", "'", "[", "]", "\\"};
static std::string entities[] = {
"&amp;", "&quot;", "&lt;", "&gt;", "&#39;", "&91;", "&93;", " &#92;"};
inline std::size_t URIDecode(const std::string &input, std::string &output) inline std::size_t URIDecode(const std::string &input, std::string &output)
{ {
auto src_iter = input.begin(); auto src_iter = input.begin();