Disable <section> behaves as <hr>
Because displaying horizontal rules are redundantly and unneeded, especially when sections are nested.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user