aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-01-18 13:42:07 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-01-18 13:42:07 +0000
commit61f68c216abea3bca2ac30f0b89652d443aa9679 (patch)
treebf1aa54cdae747d61a0648a18f89b525f4622fb5 /debian
parentUpdate debian/changelog to 0.5.3+git20210102-1 (diff)
downloadw3m-61f68c216abea3bca2ac30f0b89652d443aa9679.tar.gz
w3m-61f68c216abea3bca2ac30f0b89652d443aa9679.zip
New patch 010_section.patch to disable <section> behaves as <hr>
Diffstat (limited to '')
-rw-r--r--debian/patches/010_section.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/010_section.patch b/debian/patches/010_section.patch
new file mode 100644
index 0000000..1d920ce
--- /dev/null
+++ b/debian/patches/010_section.patch
@@ -0,0 +1,15 @@
+Subject: Disable <section> behaves as <hr>
+Author: Tatsuya Kinoshita <tats@debian.org>
+
+diff --git a/file.c b/file.c
+index 78987e9..1ab1c55 100644
+--- a/file.c
++++ b/file.c
+@@ -4838,7 +4838,6 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
+ }
+ flushline(h_env, obuf, envs[h_env->envc].indent, 0, h_env->limit);
+ return 0;
+- case HTML_SECTION:
+ case HTML_HR:
+ close_anchor(h_env, obuf);
+ tmp = process_hr(tag, h_env->limit, envs[h_env->envc].indent);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e435bd4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+010_section.patch