fixes #492
This commit is contained in:
parent
3ff572ffcd
commit
82ceca0717
2 changed files with 3 additions and 3 deletions
|
|
@ -544,6 +544,8 @@ proc parseHtml*(s: PStream, filename: string,
|
|||
# force progress!
|
||||
next(x)
|
||||
close(x)
|
||||
if result.len == 1:
|
||||
result = result[0]
|
||||
|
||||
proc parseHtml*(s: PStream): PXmlNode =
|
||||
## parses the XTML from stream `s` and returns a ``PXmlNode``. All parsing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue