diff options
author | Aki <please@ignore.pl> | 2020-08-12 19:55:18 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-12 19:55:18 +0200 |
commit | 2cb755e90018efe04e8569ec1c9d509b8ae2c7ce (patch) | |
tree | 4ca9df24f5bef5e0b3189c2502448875a16499ca /viewhtml | |
parent | a745c4af25f4aaa92ddb493f185a96ff1c970e16 (diff) | |
download | browse-2cb755e90018efe04e8569ec1c9d509b8ae2c7ce.zip browse-2cb755e90018efe04e8569ec1c9d509b8ae2c7ce.tar.gz browse-2cb755e90018efe04e8569ec1c9d509b8ae2c7ce.tar.bz2 |
Minor changes to block rendering
Diffstat (limited to 'viewhtml')
-rwxr-xr-x | viewhtml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} { |