diff options
| author | default <nobody@localhost> | 2024-10-03 17:10:30 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-10-03 17:10:30 +0200 |
| commit | 25ff20cdae74ecc083135a6c1df88717c18d3d28 (patch) | |
| tree | 7b901715eddbc340cd10a3dc1904c2000d175f81 /activitypub.c | |
| parent | 0e21b38807c1923c303e065500a6cd7a00764559 (diff) | |
Add the apostrophe as another stop char for hashtags.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index de42735..1b4ea03 100644 --- 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)) { |