Allow h&m as tag. - 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 7c676a497af92792b62e4d419c80e2667fb40dd9
DIR parent b1f99a45fa420c974c2019e8cd277cfc6058cee3
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 29 Nov 2020 10:47:55 +0100
Allow h&m as tag.
Diffstat:
M annna-start-services | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/annna-start-services b/annna-start-services
@@ -670,7 +670,7 @@ annna_common() {
printf '%s' "$text" | awk -v taglimit="$printnhashtags" '
$0 ~ /#/ && $0 !~ /#nospoil/ {
for (i = 1; i <= NF; i++)
- if (match($i, /#[A-z0-9\+-=]*/))
+ if (match($i, /#[A-z0-9&\+-=]*/))
tags[j++] = substr($i, RSTART, RLENGTH)
}
END {