mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
yhook: try to fix quotation marks in epg titles
Origin commit data
------------------
Branch: ni/coolstream
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
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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