1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[html] line break after footer and header. Refs #347

This commit is contained in:
Witold Filipczyk 2024-12-29 14:35:10 +01:00
parent c63931e067
commit 2aed70baf5
2 changed files with 13 additions and 0 deletions

View File

@ -483,6 +483,7 @@ static struct element_info elements[] = {
{"FIGURE", html_linebrk, NULL, 1, ET_NESTABLE },
{"FIXED", html_fixed, NULL, 0, ET_NESTABLE },
{"FONT", html_font, NULL, 0, ET_NESTABLE },
{"FOOTER", html_linebrk, NULL, 1, ET_NON_NESTABLE},
{"FORM", html_form, NULL, 1, ET_NESTABLE },
{"FRAME", html_frame, NULL, 1, ET_NON_PAIRABLE},
{"FRAMESET", html_frameset, NULL, 1, ET_NESTABLE },
@ -493,6 +494,7 @@ static struct element_info elements[] = {
{"H5", html_h5, NULL, 2, ET_NON_NESTABLE},
{"H6", html_h6, NULL, 2, ET_NON_NESTABLE},
{"HEAD", html_head, NULL, 0, ET_NESTABLE },
{"HEADER", html_linebrk, NULL, 1, ET_NON_NESTABLE},
{"HR", html_hr, NULL, 2, ET_NON_PAIRABLE},
{"HTML", html_html, html_html_close, 0, ET_NESTABLE },
{"I", html_italic, NULL, 0, ET_NESTABLE },

11
test/header.html Normal file
View File

@ -0,0 +1,11 @@
<section>
<header>
Header
</header>
Section
<footer>
Footer
</footer>
</section>