diff options
| -rw-r--r-- | format.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -226,6 +226,10 @@ xs_str *sanitize(const char *content) | |||
| 226 | v[1] == '/' ? "/" : "", tag, xs_list_len(el) ? " " : "", s3); | 226 | v[1] == '/' ? "/" : "", tag, xs_list_len(el) ? " " : "", s3); |
| 227 | 227 | ||
| 228 | s = xs_str_cat(s, s2); | 228 | s = xs_str_cat(s, s2); |
| 229 | } else { | ||
| 230 | /* else? just show it with encoded code.. that's it. */ | ||
| 231 | xs *el = encode_html(v); | ||
| 232 | s = xs_str_cat(s, el); | ||
| 229 | } | 233 | } |
| 230 | } | 234 | } |
| 231 | else { | 235 | else { |