Open trim21 opened 1 year ago
@zhifengle 有兴趣修一下吗(
@zhifengle 有兴趣修一下吗(
好的,我处理一下
正好还有个场景,希望parser再加一个参数可以忽略某些BBCODE标签,比如用户主页是不支持img标签的。
有个疑问 [url]qq[/url]
的使用场景是? 目前 Parser 是把 [url]qq[/url]
当作非法的 BBCode。
目前已修复 [url]http://qq.com[/url]
的情况
这里是个convertMap没正常工作的例子,不是真正的使用场景。[url]http://qq.com[/url]
也可以
也可以直接用这个 branch,这个case已经放在里面了 https://github.com/bangumi/frontend/compare/bbcode/convert-map-nested?expand=1