summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorGravatar default2025-03-17 08:18:41 +0100
committerGravatar default2025-03-17 08:18:41 +0100
commit49134582055a174951b23314170ec42c33796325 (patch)
tree72337c4455df8d856d516c33797e87038df28fde /format.c
parentMerge pull request 'Translation for pt_BR.po new strings 🇧🇷🇵🇹' (#... (diff)
downloadpenes-snac2-49134582055a174951b23314170ec42c33796325.tar.gz
penes-snac2-49134582055a174951b23314170ec42c33796325.tar.xz
penes-snac2-49134582055a174951b23314170ec42c33796325.zip
mastoapi: added support for /api/v1/custom_emojis (contributed by violette).
Diffstat (limited to '')
-rw-r--r--format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/format.c b/format.c
index 755aeb2..f6bf81e 100644
--- a/format.c
+++ b/format.c
@@ -94,6 +94,7 @@ static xs_str *format_line(const char *line, xs_list **attach)
94 "`[^`]+`" "|" 94 "`[^`]+`" "|"
95 "~~[^~]+~~" "|" 95 "~~[^~]+~~" "|"
96 "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|" 96 "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|"
97 ":.+:" "|" //emotes
97 "_[^_]+_" "|" //anzu 98 "_[^_]+_" "|" //anzu
98 "__[^_]+__" "|" //anzu 99 "__[^_]+__" "|" //anzu
99 "!\\[[^]]+\\]\\([^\\)]+\\)" "|" 100 "!\\[[^]]+\\]\\([^\\)]+\\)" "|"