mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #13394 from calixteman/xml_parser
Handle PI with no value in xml parser
This commit is contained in:
commit
faf6b10939
2 changed files with 26 additions and 1 deletions
|
@ -145,6 +145,7 @@ class XMLParserBase {
|
|||
pos < s.length &&
|
||||
!isWhitespace(s, pos) &&
|
||||
s[pos] !== ">" &&
|
||||
s[pos] !== "?" &&
|
||||
s[pos] !== "/"
|
||||
) {
|
||||
++pos;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue