29 lines
891 B
Diff
29 lines
891 B
Diff
|
From 35e83488505d501864826125cfe6a7950d6cba78 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Veillard <veillard@redhat.com>
|
||
|
Date: Wed, 18 Apr 2018 15:58:42 +0200
|
||
|
Subject: [PATCH 09/13] HTML noscript should not close p
|
||
|
|
||
|
For https://bugzilla.gnome.org/show_bug.cgi?id=795343
|
||
|
|
||
|
- HTMLparser.c: noscript should not close <p> but it should close <script>
|
||
|
---
|
||
|
HTMLparser.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/HTMLparser.c b/HTMLparser.c
|
||
|
index 7e243e60..96a1bf40 100644
|
||
|
--- a/HTMLparser.c
|
||
|
+++ b/HTMLparser.c
|
||
|
@@ -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,
|
||
|
--
|
||
|
2.18.0
|
||
|
|