浏览代码

Fixed typo.

grunfink 8 月之前
父节点
当前提交
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;
 }