aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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