-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lol_html_take_last_error() after calling lol_html_element_add_end…
…_tag_handler() on element with no end tag (#187) * Remove unused "No end tag" error This was removed when the on_end_tag() API was switched to end_tag_handlers(). * Make lol_html_element_add_end_tag_handler() arm lol_html_take_last_error() on no end tag Prior to the end_tag_handlers() refactor, calling lol_html_element_on_end_tag() on an element with no end tag would arm lol_html_take_last_error() with a "No end tag." string. The new lol_html_element_add_end_tag_handler() function inherited the previous function's doc comment describing this behavior, but not the actual behavior itself. This commit restores that behavior and adds a regression test.
- Loading branch information
1 parent
a005329
commit 952220c
Showing
5 changed files
with
73 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters