snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 931b871eb15a1533b2140b64356c397ce535bcce
parent 8ebfa10547d6512925b894e049bd72e6955f7461
Author: default <nobody@localhost>
Date:   Sun, 17 Sep 2023 03:03:20 +0200

Also accept s HTML tags.

Diffstat:
Mdoc/snac.5 | 2+-
Mformat.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/snac.5 b/doc/snac.5 @@ -59,7 +59,7 @@ converted to related emojis: All HTML tags in entries are neutered except the following ones: .Bd -literal a p br blockquote ul ol li cite small -span i b u pre code em strong hr img del +span i b u s pre code em strong hr img del .Ed .Pp .Ss Disk Layout diff --git a/format.c b/format.c @@ -203,7 +203,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach) const char *valid_tags[] = { "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "small", - "span", "i", "b", "u", "pre", "code", "em", "strong", "hr", "img", "del", NULL + "span", "i", "b", "u", "s", "pre", "code", "em", "strong", "hr", "img", "del", NULL }; xs_str *sanitize(const char *content)