From 7fe8761ed7992762603c01610a115fde199dcaaf Mon Sep 17 00:00:00 2001 From: grunfink Date: Mon, 12 Jan 2026 05:20:52 +0100 Subject: Strip all HTML tags from pronouns. --- html.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/html.c b/html.c index 9e96108..2107609 100644 --- a/html.c +++ b/html.c @@ -181,9 +181,8 @@ xs_str *actor_pronouns(xs_dict *actor) } } - /*

breaks page, cannot nest them */ - ret = xs_replace_i(xs_dup(pronouns), "

", ""); - ret = xs_replace_i(ret, "

", ""); + /* strip all HTML tags */ + ret = xs_regex_replace(pronouns, "]+>", ""); return ret; } -- cgit v1.2.3