diff options
Diffstat (limited to 'source/fitz/xml.c')
-rw-r--r-- | source/fitz/xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/xml.c b/source/fitz/xml.c index 6051caf5..f301ad71 100644 --- a/source/fitz/xml.c +++ b/source/fitz/xml.c @@ -448,6 +448,7 @@ parse_element: parse_comment: if (*p == '[') goto parse_cdata; if (*p == 'D' && !memcmp(p, "DOCTYPE", 7)) goto parse_declaration; + if (*p == 'E' && !memcmp(p, "ENTITY", 6)) goto parse_declaration; if (*p++ != '-') return "syntax error in comment (<! not followed by --)"; if (*p++ != '-') return "syntax error in comment (<!- not followed by -)"; while (*p) { |