parent
680f5eeb15
commit
9fd0a71e4d
3 changed files with 65 additions and 2 deletions
|
|
@ -2014,7 +2014,7 @@ proc parseHtml*(s: Stream, filename: string,
|
|||
## Parses the XML from stream `s` and returns a ``XmlNode``. Every
|
||||
## occurred parsing error is added to the `errors` sequence.
|
||||
var x: XmlParser
|
||||
open(x, s, filename, {reportComments, reportWhitespace})
|
||||
open(x, s, filename, {reportComments, reportWhitespace, allowUnquotedAttribs})
|
||||
next(x)
|
||||
# skip the DOCTYPE:
|
||||
if x.kind == xmlSpecial: next(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue