mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[html] Decrease number of line breaks for DL, OL and UL. Refs #248
This commit is contained in:
parent
7cac2ed5c5
commit
cbc29daab2
@ -473,7 +473,7 @@ static struct element_info elements[] = {
|
|||||||
{"DFN", html_bold, NULL, 0, ET_NESTABLE },
|
{"DFN", html_bold, NULL, 0, ET_NESTABLE },
|
||||||
{"DIR", html_ul, NULL, 2, ET_NESTABLE },
|
{"DIR", html_ul, NULL, 2, ET_NESTABLE },
|
||||||
{"DIV", html_linebrk, NULL, 1, ET_NESTABLE },
|
{"DIV", html_linebrk, NULL, 1, ET_NESTABLE },
|
||||||
{"DL", html_dl, NULL, 2, ET_NESTABLE },
|
{"DL", html_dl, NULL, 1, ET_NESTABLE },
|
||||||
{"DT", html_dt, NULL, 1, ET_NON_PAIRABLE},
|
{"DT", html_dt, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"EM", html_italic, NULL, 0, ET_NESTABLE },
|
{"EM", html_italic, NULL, 0, ET_NESTABLE },
|
||||||
{"EMBED", html_embed, NULL, 0, ET_NON_PAIRABLE},
|
{"EMBED", html_embed, NULL, 0, ET_NON_PAIRABLE},
|
||||||
@ -503,7 +503,7 @@ static struct element_info elements[] = {
|
|||||||
{"NOFRAMES", html_noframes, NULL, 0, ET_NESTABLE },
|
{"NOFRAMES", html_noframes, NULL, 0, ET_NESTABLE },
|
||||||
{"NOSCRIPT", html_noscript, NULL, 0, ET_NESTABLE },
|
{"NOSCRIPT", html_noscript, NULL, 0, ET_NESTABLE },
|
||||||
{"OBJECT", html_object, NULL, 1, ET_NON_PAIRABLE},
|
{"OBJECT", html_object, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"OL", html_ol, NULL, 2, ET_NESTABLE },
|
{"OL", html_ol, NULL, 1, ET_NESTABLE },
|
||||||
{"OPTION", html_option, NULL, 1, ET_NON_PAIRABLE},
|
{"OPTION", html_option, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"P", html_p, NULL, 2, ET_NON_NESTABLE},
|
{"P", html_p, NULL, 2, ET_NON_NESTABLE},
|
||||||
{"PRE", html_pre, NULL, 2, ET_NESTABLE },
|
{"PRE", html_pre, NULL, 2, ET_NESTABLE },
|
||||||
@ -527,7 +527,7 @@ static struct element_info elements[] = {
|
|||||||
{"TR", html_tr, NULL, 1, ET_NESTABLE },
|
{"TR", html_tr, NULL, 1, ET_NESTABLE },
|
||||||
{"TT", html_tt, NULL, 0, ET_NON_NESTABLE},
|
{"TT", html_tt, NULL, 0, ET_NON_NESTABLE},
|
||||||
{"U", html_underline, NULL, 0, ET_NESTABLE },
|
{"U", html_underline, NULL, 0, ET_NESTABLE },
|
||||||
{"UL", html_ul, NULL, 2, ET_NESTABLE },
|
{"UL", html_ul, NULL, 1, ET_NESTABLE },
|
||||||
{"VIDEO", html_video, NULL, 1, ET_NON_PAIRABLE},
|
{"VIDEO", html_video, NULL, 1, ET_NON_PAIRABLE},
|
||||||
{"XMP", html_xmp, html_xmp_close, 2, ET_NESTABLE },
|
{"XMP", html_xmp, html_xmp_close, 2, ET_NESTABLE },
|
||||||
{NULL, NULL, NULL, 0, ET_NESTABLE },
|
{NULL, NULL, NULL, 0, ET_NESTABLE },
|
||||||
|
Loading…
Reference in New Issue
Block a user