snac2

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

commit fdb35f343796d6abd2736e5fb6e6e891c881fd97
parent f8838c65aa6dae8a6a8a093d713c8286492a34a6
Author: default <nobody@localhost>
Date:   Wed, 24 May 2023 14:58:42 +0200

Also accept 'cite' as a valid HTML tag.

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 @@ -58,7 +58,7 @@ converted to related emojis: .Ss Accepted HTML All HTML tags in entries are neutered except the following ones: .Bd -literal -a p br blockquote ul li +a p br blockquote ul li cite span i b u pre code em strong .Ed .Pp diff --git a/format.c b/format.c @@ -185,7 +185,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach) const char *valid_tags[] = { - "a", "p", "br", "br/", "blockquote", "ul", "li", + "a", "p", "br", "br/", "blockquote", "ul", "li", "cite", "span", "i", "b", "u", "pre", "code", "em", "strong", NULL };