From 2cb755e90018efe04e8569ec1c9d509b8ae2c7ce Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 12 Aug 2020 19:55:18 +0200 Subject: Minor changes to block rendering --- viewhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewhtml') diff --git a/viewhtml b/viewhtml index a48e1d4..7a03591 100755 --- a/viewhtml +++ b/viewhtml @@ -83,7 +83,7 @@ proc displayNode {w node tagList} { # TODO: Handle margins and blocks better than this. if {$tag == "h1" || $tag == "h2" || $tag == "p"} { $w insert end "\n\n" {} - } elseif {$tag == "pre" || $tag == "li" || $tag == "dt" || $tag == "ul" || $tag == "dd" || $tag == "dl"} { + } elseif {$tag == "pre" || $tag == "li" || $tag == "dt" || $tag == "ul" || $tag == "dd" || $tag == "dl" || $tag == "div" || $tag == "br"} { $w insert end "\n" {} } } elseif {$type == $gumbo::GUMBO_NODE_TEXT} { -- cgit v1.1