grunfink 6 месяцев назад
Родитель
Сommit
3f3e4892ff
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      html.c

+ 1 - 2
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;
 }