- yhook: try to fix quotation marks in epg titles

This commit is contained in:
vanhofen
2022-12-05 20:44:19 +01:00
committed by Thilo Graf
parent df7b3e73b1
commit 9ed28f71da

View File

@@ -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 += ",";