Skip to content

Commit

Permalink
HTML noscript should not close p
Browse files Browse the repository at this point in the history
For https://bugzilla.gnome.org/show_bug.cgi?id=795343

- HTMLparser.c: noscript should not close <p> but it should close <script>
  • Loading branch information
veillard committed Apr 18, 2018
1 parent e61c821 commit 35e8348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HTMLparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ static const char * const htmlStartClose[] = {
"menu", "p", "head", "ul", NULL,
"p", "p", "head", "h1", "h2", "h3", "h4", "h5", "h6", FONTSTYLE, NULL,
"div", "p", "head", NULL,
"noscript", "p", NULL,
"noscript", "script", NULL,
"center", "font", "b", "i", "p", "head", NULL,
"a", "a", "head", NULL,
"caption", "p", NULL,
Expand Down

0 comments on commit 35e8348

Please sign in to comment.