aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
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)
}
/* strip all HTML tags */
- ret = xs_regex_replace(pronouns, "</?[>]+>", "");
-
+ ret = xs_regex_replace(pronouns, "</?[^>]+>", "");
return ret;
}