diff options
author | default <nobody@localhost> | 2024-05-11 19:18:07 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-11 19:18:07 +0200 |
commit | 0a11d70fbecd69e0c93000581b800ff434d42767 (patch) | |
tree | ae77df1ea5686254090650af3fcfef64817aa28b /format.c | |
parent | 4d53a7b6f7f45f524313980461f5d2a6ef965949 (diff) | |
parent | 6f3763f452ba55ee6ddd9f63f5bc523807e7288f (diff) |
Fixed git conflict.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -311,9 +311,8 @@ xs_str *sanitize(const char *content) s = xs_str_cat(s, s2); } else { - /* else? just show it with encoded code.. that's it. */ - xs *el = encode_html(v); - s = xs_str_cat(s, el); + if (strcmp(v, "</div>")) + s = xs_str_cat(s, "<p>"); } } else { |