handle <form> as block element with margin bottom 0 - webdump - HTML to plain-text converter for webpages (HTM) git clone git://git.codemadness.org/webdump (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 642198c5b9aabc74e13e4c2e7f044516e76cbf2b (DIR) parent 4d0ab293b3f3ecd2e5a491c8e94678811f03e398 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 11 Sep 2023 18:59:41 +0200 handle <form> as block element with margin bottom 0 Diffstat: M webdump.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- (DIR) diff --git a/webdump.c b/webdump.c @@ -230,6 +230,7 @@ static struct tag tags[] = { { "figcaption", DisplayBlock, 0, 0, 0, 0, 0, 0, 0 }, { "figure", DisplayBlock, 0, 0, 0, 0, 1, 1, 4 }, { "footer", DisplayBlock, 0, 0, 0, 0, 0, 0, 0 }, +{ "form", DisplayBlock, 0, 0, 0, 0, 0, 1, 0 }, { "h1", DisplayHeader, MarkupBold, 0, 0, 0, 1, 1, -DEFAULT_INDENT }, { "h2", DisplayHeader, MarkupBold, 0, 0, 0, 1, 1, -DEFAULT_INDENT }, { "h3", DisplayHeader, MarkupBold, 0, 0, 0, 1, 1, -DEFAULT_INDENT },