html: fix parser to handle empty documents
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
14e6bec509
commit
571463b22c
@ -2259,7 +2259,7 @@ namespace stdex
|
||||
token_t::complete,
|
||||
nullptr, 0,
|
||||
text_type,
|
||||
m_offset->get()));
|
||||
m_offset != end ? m_offset->get() : nullptr));
|
||||
|
||||
while (m_offset != end) {
|
||||
auto& s = *m_offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user