mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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