Disable <section> behaves as <hr>

Because displaying horizontal rules are redundantly and unneeded,
especially when sections are nested.
This commit is contained in:
Tatsuya Kinoshita
2021-01-18 22:17:31 +09:00
parent e383c7d7ab
commit 794351356e
-1
View File
@@ -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); flushline(h_env, obuf, envs[h_env->envc].indent, 0, h_env->limit);
return 0; return 0;
case HTML_SECTION:
case HTML_HR: case HTML_HR:
close_anchor(h_env, obuf); close_anchor(h_env, obuf);
tmp = process_hr(tag, h_env->limit, envs[h_env->envc].indent); tmp = process_hr(tag, h_env->limit, envs[h_env->envc].indent);