summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar grunfink2026-01-12 18:08:34 +0100
committerGravatar grunfink2026-01-12 18:08:34 +0100
commit3f3e4892ff0d0c46b49cae88e7e74ba5c6c11a3b (patch)
tree9081bf5417ae7b0c8c737770f2cc1e6d7f6fbd0a /html.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-3f3e4892ff0d0c46b49cae88e7e74ba5c6c11a3b.tar.gz
snac2-3f3e4892ff0d0c46b49cae88e7e74ba5c6c11a3b.tar.xz
snac2-3f3e4892ff0d0c46b49cae88e7e74ba5c6c11a3b.zip
Fixed typo.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.c b/html.c
index 2ff6f79..a11b448 100644
--- a/html.c
+++ b/html.c
@@ -182,8 +182,7 @@ xs_str *actor_pronouns(xs_dict *actor)
182 } 182 }
183 183
184 /* strip all HTML tags */ 184 /* strip all HTML tags */
185 ret = xs_regex_replace(pronouns, "</?[>]+>", ""); 185 ret = xs_regex_replace(pronouns, "</?[^>]+>", "");
186
187 return ret; 186 return ret;
188} 187}
189 188