mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
Parenthesis in names are not escaped when saving
This commit is contained in:
parent
d88d47d621
commit
18b525de2e
2 changed files with 19 additions and 1 deletions
|
@ -237,6 +237,9 @@ describe("core_utils", function () {
|
|||
"#fehe#fell#ffo#ff"
|
||||
);
|
||||
expect(escapePDFName("#h#e#l#l#o")).toEqual("#23h#23e#23l#23l#23o");
|
||||
expect(escapePDFName("#()<>[]{}/%")).toEqual(
|
||||
"#23#28#29#3c#3e#5b#5d#7b#7d#2f#25"
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue