snac2

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

commit 5654960161a295f56c56b66f822fbb245800e4bf
parent 38986cefc38753f22d0a06b43bf67135a3430f67
Author: default <nobody@localhost>
Date:   Tue, 13 Jun 2023 18:57:43 +0200

Also accept HTML tag <ol>.

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 cite +a p br blockquote ul ol li cite span i b u pre code em strong .Ed .Pp diff --git a/format.c b/format.c @@ -186,7 +186,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach) const char *valid_tags[] = { - "a", "p", "br", "br/", "blockquote", "ul", "li", "cite", + "a", "p", "br", "br/", "blockquote", "ul", "ol", "li", "cite", "span", "i", "b", "u", "pre", "code", "em", "strong", NULL };