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:
parent
c63931e067
commit
2aed70baf5
@ -483,6 +483,7 @@ static struct element_info elements[] = {
|
|||||||
{"FIGURE", html_linebrk, NULL, 1, ET_NESTABLE },
|
{"FIGURE", html_linebrk, NULL, 1, ET_NESTABLE },
|
||||||
{"FIXED", html_fixed, NULL, 0, ET_NESTABLE },
|
{"FIXED", html_fixed, NULL, 0, ET_NESTABLE },
|
||||||
{"FONT", html_font, 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 },
|
{"FORM", html_form, NULL, 1, ET_NESTABLE },
|
||||||
{"FRAME", html_frame, NULL, 1, ET_NON_PAIRABLE},
|
{"FRAME", html_frame, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"FRAMESET", html_frameset, NULL, 1, ET_NESTABLE },
|
{"FRAMESET", html_frameset, NULL, 1, ET_NESTABLE },
|
||||||
@ -493,6 +494,7 @@ static struct element_info elements[] = {
|
|||||||
{"H5", html_h5, NULL, 2, ET_NON_NESTABLE},
|
{"H5", html_h5, NULL, 2, ET_NON_NESTABLE},
|
||||||
{"H6", html_h6, NULL, 2, ET_NON_NESTABLE},
|
{"H6", html_h6, NULL, 2, ET_NON_NESTABLE},
|
||||||
{"HEAD", html_head, NULL, 0, ET_NESTABLE },
|
{"HEAD", html_head, NULL, 0, ET_NESTABLE },
|
||||||
|
{"HEADER", html_linebrk, NULL, 1, ET_NON_NESTABLE},
|
||||||
{"HR", html_hr, NULL, 2, ET_NON_PAIRABLE},
|
{"HR", html_hr, NULL, 2, ET_NON_PAIRABLE},
|
||||||
{"HTML", html_html, html_html_close, 0, ET_NESTABLE },
|
{"HTML", html_html, html_html_close, 0, ET_NESTABLE },
|
||||||
{"I", html_italic, NULL, 0, ET_NESTABLE },
|
{"I", html_italic, NULL, 0, ET_NESTABLE },
|
||||||
|
11
test/header.html
Normal file
11
test/header.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
Header
|
||||||
|
</header>
|
||||||
|
|
||||||
|
Section
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
Footer
|
||||||
|
</footer>
|
||||||
|
</section>
|
Loading…
x
Reference in New Issue
Block a user