remove extra bottom margin below <title> - webdump - HTML to plain-text converter for webpages
HTML git clone git://git.codemadness.org/webdump
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8bc72be5f6101fd26a22a98d5ab256f8d2aace79
DIR parent 8c771e2594e6cac2784f0fa71cae2d0d85cbf9ff
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 14 Jul 2026 14:05:43 +0200
remove extra bottom margin below <title>
Titles end tags are properly processed now and the element is set as block
element, which already has an extra newline.
Diffstat:
M webdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/webdump.c b/webdump.c
@@ -333,7 +333,7 @@ static struct tag tags[] = {
{ "tfoot", TagTfoot, DisplayInline, 0, DisplayTable, 0, 1, 0, 0, 0 },
{ "th", TagTh, DisplayTableCell, MarkupBold, DisplayTableRow, 0, 1, 0, 0, 0 },
{ "thead", TagThead, DisplayInline, 0, DisplayTable, 0, 1, 0, 0, 0 },
-{ "title", TagTitle, DisplayBlock, 0, 0, 0, 0, 0, 1, -DEFAULT_INDENT },
+{ "title", TagTitle, DisplayBlock, 0, 0, 0, 0, 0, 0, -DEFAULT_INDENT },
{ "tr", TagTr, DisplayTableRow, 0, DisplayTable, 0, 1, 0, 0, 0 },
{ "track", TagTrack, DisplayInline, 0, 0, 1, 0, 0, 0, 0 },
{ "u", TagU, DisplayInline, MarkupUnderline, 0, 0, 0, 0, 0, 0 },