mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
- yhook: try to fix quotation marks in epg titles
This commit is contained in:
@@ -454,6 +454,7 @@ std::string CyhookHandler::outPair(std::string _key, std::string _content, bool
|
|||||||
result = outIndent() + "<" + _key + ">" + _content + "</" + _key_close + ">";
|
result = outIndent() + "<" + _key + ">" + _content + "</" + _key_close + ">";
|
||||||
break;
|
break;
|
||||||
case json:
|
case json:
|
||||||
|
replace(_content, "\"", "\'");
|
||||||
result = outIndent() + "\"" + _key + "\": \"" + _content + "\"";
|
result = outIndent() + "\"" + _key + "\": \"" + _content + "\"";
|
||||||
if(_next)
|
if(_next)
|
||||||
result += ",";
|
result += ",";
|
||||||
|
Reference in New Issue
Block a user