Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xak-mcu committed Apr 29, 2016
1 parent 6e02160 commit 4b500ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmcu-ru/utils_json.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ std::string & JsQuoteScreen(const std::string &str, std::string &r)
{
case(0x22):
// "
r.push_back('\\'); r.push_back('\\'); r.push_back('x'); r.push_back('2'); r.push_back('2');
r.push_back('\\'); r.push_back('"');
break;
case(0x5c):
// backslash
r.push_back('\\'); r.push_back('\\'); r.push_back('x'); r.push_back('5'); r.push_back('c');
r.push_back('\\'); r.push_back('\\');
break;
case ('<'):
r.push_back('&'); r.push_back('l'); r.push_back('t');
Expand Down

0 comments on commit 4b500ee

Please sign in to comment.