mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Minor node/pdf2svg.js fixes.
This commit is contained in:
parent
04390d8252
commit
6048c8a910
2 changed files with 3 additions and 1 deletions
|
@ -16,6 +16,7 @@ var style = {
|
|||
|
||||
function xmlEncode(s){
|
||||
var i = 0, ch;
|
||||
s = String(s);
|
||||
while (i < s.length && (ch = s[i]) !== '&' && ch !== '<' &&
|
||||
ch !== '\"' && ch !== '\n' && ch !== '\r' && ch !== '\t') {
|
||||
i++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue