allow & and * characters in meme tags - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit a713a17b0793795f9f5485cd0aa334afcf9496f9 DIR parent 38e9d73184c6d2065a5ab9d9baf80ce92367abef HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 20 Feb 2023 21:20:00 +0100 allow & and * characters in meme tags Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-message-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -1159,7 +1159,7 @@ esac printf '%s' "$text" | awk -v taglimit="$printnhashtags" ' $0 !~ /#nospoil/ { - while (match($0, /[#*&]+[^#^*^& /"'\'',?!;$\001]+/)) { + while (match($0, /[#*&]+[^# /"'\'',?!;$\001]+/)) { tag = substr($0, RSTART, RLENGTH) $0 = substr($0, RSTART + RLENGTH) sub(/[.]*$/, "", tag)