yhook: try to fix quotation marks in epg titles

Origin commit data
------------------
Commit: 8ed5d6b523
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-12-05 (Mon, 05 Dec 2022)

Origin message was:
------------------
- yhook: try to fix quotation marks in epg titles
This commit is contained in:
vanhofen
2022-12-05 20:44:19 +01:00
parent e8f37aad31
commit 1ba0878e38

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