1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 12:40:08 +00:00

fix bug: JS error when pdf contained single quotes in its name; add myself in AUTHORS as kindly request by Lu

This commit is contained in:
Michele Redolfi 2013-05-31 12:24:12 +02:00
parent 3fd823e082
commit a59c6a8865
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Hongliang Tian <tatetian@gmail.com>
John Hewson <john@jahewson.com>
Lu Wang <coolwanglu@gmail.com>
Ryan Morlok <ryan.morlok@morlok.com>
Michele Redolfi <michele@tecnicaict.com>
Packagers:
Arthur Titeica <arthur.titeica@gmail.com>

View File

@ -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;