summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/format.c b/format.c
index 631c11c..df3b5d9 100644
--- a/format.c
+++ b/format.c
@@ -311,6 +311,7 @@ xs_str *sanitize(const char *content)
s = xs_str_cat(s, s2);
} else {
+ /* treat end of divs as paragraph breaks */
if (strcmp(v, "</div>"))
s = xs_str_cat(s, "<p>");
}