mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +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 + ">";
|
||||
break;
|
||||
case json:
|
||||
replace(_content, "\"", "\'");
|
||||
result = outIndent() + "\"" + _key + "\": \"" + _content + "\"";
|
||||
if(_next)
|
||||
result += ",";
|
||||
|
Reference in New Issue
Block a user