diff options
| author | 2024-05-11 19:18:07 +0200 | |
|---|---|---|
| committer | 2024-05-11 19:18:07 +0200 | |
| commit | 0a11d70fbecd69e0c93000581b800ff434d42767 (patch) | |
| tree | ae77df1ea5686254090650af3fcfef64817aa28b /format.c | |
| parent | In timeline_request(), call enqueue_actor_request on actor errors. (diff) | |
| parent | Show 'Event' object types as Notes. (diff) | |
| download | snac2-0a11d70fbecd69e0c93000581b800ff434d42767.tar.gz snac2-0a11d70fbecd69e0c93000581b800ff434d42767.tar.xz snac2-0a11d70fbecd69e0c93000581b800ff434d42767.zip | |
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) | |||
| 311 | 311 | ||
| 312 | s = xs_str_cat(s, s2); | 312 | s = xs_str_cat(s, s2); |
| 313 | } else { | 313 | } else { |
| 314 | /* else? just show it with encoded code.. that's it. */ | 314 | if (strcmp(v, "</div>")) |
| 315 | xs *el = encode_html(v); | 315 | s = xs_str_cat(s, "<p>"); |
| 316 | s = xs_str_cat(s, el); | ||
| 317 | } | 316 | } |
| 318 | } | 317 | } |
| 319 | else { | 318 | else { |