diff options
author | default <nobody@localhost> | 2024-05-11 19:35:33 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-11 19:35:33 +0200 |
commit | 9acba489fb37f0d3daca45aad17df96a6360efe5 (patch) | |
tree | cea4f31cae0396f9ac61acfddf89d33832f1a4d8 /format.c | |
parent | 0a11d70fbecd69e0c93000581b800ff434d42767 (diff) |
Add some special treatment to Event object display.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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>"); } |