commit 25ff20cdae74ecc083135a6c1df88717c18d3d28
parent 0e21b38807c1923c303e065500a6cd7a00764559
Author: default <nobody@localhost>
Date: Thu, 3 Oct 2024 17:10:30 +0200
Add the apostrophe as another stop char for hashtags.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/activitypub.c b/activitypub.c
@@ -721,7 +721,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag)
/* use this same server */
def_srv = xs_dup(xs_dict_get(srv_config, "host"));
- split = xs_regex_split(content, "(@[A-Za-z0-9_]+(@[A-Za-z0-9\\.-]+)?|&#[0-9]+;|#[^ ,\\.:;<]+)");
+ split = xs_regex_split(content, "(@[A-Za-z0-9_]+(@[A-Za-z0-9\\.-]+)?|&#[0-9]+;|#[^ ',\\.:;<]+)");
p = split;
while (xs_list_iter(&p, &v)) {