diff options
author | default <nobody@localhost> | 2022-09-27 10:20:33 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-27 10:20:33 +0200 |
commit | 48a50770f46f160d8cbc852fdb90ea0c6c74cdd7 (patch) | |
tree | cfebe9305575252a0ce6dd3192dab1ab00b3802f /html.c | |
parent | c41f982eea0c2fcb75b412e4e85a7df25cbc9e0f (diff) |
Use xs_replace_i() in some places.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -63,10 +63,7 @@ d_char *not_really_markdown(char *content, d_char **f_content) s = xs_str_cat(s, "</pre>"); /* some beauty fixes */ - if (xs_str_in(s, "</blockquote><br>") != -1) { - xs *os = s; - s = xs_replace(os, "</blockquote><br>", "</blockquote>"); - } + s = xs_replace_i(s, "</blockquote><br>", "</blockquote>"); *f_content = s; |