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)
311 311
312 s = xs_str_cat(s, s2); 312 s = xs_str_cat(s, s2);
313 } else { 313 } else {
314 /* treat end of divs as paragraph breaks */
314 if (strcmp(v, "</div>")) 315 if (strcmp(v, "</div>"))
315 s = xs_str_cat(s, "<p>"); 316 s = xs_str_cat(s, "<p>");
316 } 317 }