Fix semicolon after memes, allow them. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 97ddec6c2d48075328837316c93c11bddb90f80c | |
parent 7601100b26ea68a5165477f6aadf35e0910550e8 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Fri, 27 Aug 2021 18:22:18 +0200 | |
Fix semicolon after memes, allow them. | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -904,7 +904,7 @@ then | |
else | |
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) |