Merge pull request #4 from Aerijo/patch-1

Fix comment end bug
This commit is contained in:
Max Brunsfeld 2018-10-28 20:30:23 -07:00 committed by GitHub
commit 01cf82e234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -114,12 +114,14 @@ Custom tags
Comments Comments
================================== ==================================
<!-- hello --> <!-- hello -->
<!-- world ->-> -- > ->->->-- -> still comment -->
<div> <div>
<!-- <span>something</span> --> <!-- <span>something</span> -->
</div> </div>
--- ---
(fragment (fragment
(comment)
(comment) (comment)
(text) (text)
(element (element

View File

@ -108,7 +108,6 @@ struct Scanner {
lexer->mark_end(lexer); lexer->mark_end(lexer);
return true; return true;
} }
break;
default: default:
dashes = 0; dashes = 0;
} }