diff options
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) | |||
| 63 | s = xs_str_cat(s, "</pre>"); | 63 | s = xs_str_cat(s, "</pre>"); |
| 64 | 64 | ||
| 65 | /* some beauty fixes */ | 65 | /* some beauty fixes */ |
| 66 | if (xs_str_in(s, "</blockquote><br>") != -1) { | 66 | s = xs_replace_i(s, "</blockquote><br>", "</blockquote>"); |
| 67 | xs *os = s; | ||
| 68 | s = xs_replace(os, "</blockquote><br>", "</blockquote>"); | ||
| 69 | } | ||
| 70 | 67 | ||
| 71 | *f_content = s; | 68 | *f_content = s; |
| 72 | 69 | ||