-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
评价:微信HTML star最高的项目,质量太低了,—实体明着写? #370
Comments
xiangyuecn
changed the title
评价:微信HTML start最高的项目,质量太低了,—实体明着写?
评价:微信HTML star最高的项目,质量太低了,—实体明着写?
Feb 17, 2020
好奇为什么这么多星,太难用了。。。刚开始还有src不存在的报错 |
请问有好用的替代库吗 |
那你写一个不就好了 谁一开始项目就代码写的很好的 你觉得不好你自己贡献 |
你要是写个好用的出来,不就没人用这个几年前的项目了? 你又不写,还跑过来说人家质量低 |
坐等更高质量的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GitHub搜索"微信HTML",start量最高的就是这个项目。但质量实在不敢恭维。
粗略看了一下源码,就发现致命问题,作者压根就不理解什么是HTML实体转义,为什么要进行实体转义。可以前往wxDiscode.js观摩。
&# 0000 ; &#x 00FF; 这种实体就不用想了,压根就没有去解析。
然后转义调用:
wxParse/wxParse/html2json.js
Lines 65 to 71 in 405d856
看69行,不管三七二十一直接就先把实体还原???这是什么操作,想气死阅读代码的开发者吗😂😂
看看下面这种会解析成什么?
果然不出所料:
好奇这么低质量的项目,怎么会有怎么多start!
The text was updated successfully, but these errors were encountered: