summaryrefslogtreecommitdiff
path: root/viewhtml
diff options
context:
space:
mode:
Diffstat (limited to 'viewhtml')
-rwxr-xr-xviewhtml2
1 files changed, 1 insertions, 1 deletions
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} {