mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
Merge pull request #160 from micred/jsonescape
fix bug: JS error when pdf contained single quotes in its name; add myse...
This commit is contained in:
commit
cf1c668b81
1
AUTHORS
1
AUTHORS
@ -6,6 +6,7 @@ Herbert Jones <herbert@mediafire.com>
|
||||
Hongliang Tian <tatetian@gmail.com>
|
||||
John Hewson <john@jahewson.com>
|
||||
Lu Wang <coolwanglu@gmail.com>
|
||||
Michele Redolfi <michele@tecnicaict.com>
|
||||
Ryan Morlok <ryan.morlok@morlok.com>
|
||||
|
||||
Packagers:
|
||||
|
@ -135,6 +135,7 @@ void outputJSON(ostream & out, const string & s)
|
||||
{
|
||||
case '\\': out << "\\\\"; break;
|
||||
case '"': out << "\\\""; break;
|
||||
case '\'': out << "\\\'"; break;
|
||||
case '/': out << "\\/"; break;
|
||||
case '\b': out << "\\b"; break;
|
||||
case '\f': out << "\\f"; break;
|
||||
|
Loading…
Reference in New Issue
Block a user