-
Notifications
You must be signed in to change notification settings - Fork 252
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
表情判断逻辑仍有漏洞 #286
Comments
@xCss 昨天有日语大佬过来改我的翻译,你看看顺便把你的翻译也给改了。 https://github.com/MiniValine/minivaline-i18n/blob/master/ja-JP/index.json 目前还有阿拉伯大佬给出了阿拉伯语的建议,你看看要不要考虑加进去 https://github.com/MiniValine/minivaline-i18n/blob/master/ar-SA/index.json |
应该学习MiniValine的判断逻辑, 如 |
括号外面再加特殊字符 |
而且评论时写行内代码, 即 |
哦对了, 显然连输两个 反正用冒号很不靠谱啦 |
然而Github这个评论框就用了冒号 🚀 💯
|
那你可以用正则搞一下, 如果出现非法字符(标点符号, 空格和大写字母)就不判断为emoji |
还有, 我换Gitalk了 |
Gitalk 国内网络不稳定,我从Gitalk换到Valine 最后自己搞了一套MiniValine,最近换主题感觉MV和主题不搭又换回Valine,哈哈~ |
|
Got it!! |
gitalk太慢了,而且最老的评论排序在最上面,几年过去了还这样…… |
gitalk代码是开源的,给gitalk作者提Issue 发PR |
@xaoxuu 你的主题是自带Gitalk吗? 我能不能手动用npm更新 |
没有啊, 默认最新的在最上面, 可以选的 https://blog.lhkstudio.me/about/ |
v1.4.10 已修复,感谢反馈 |
👍那我是不是又要换回来了 |
等漏洞补上再换吧 PS:Gitalk 网络报错太不靠谱了 |
If you want to report a bug, please provide the following information:
输入下面的格式就不会显示表情
建议增加一对符号来判断,双冒号太容易误判了。
例如:
或者:
The text was updated successfully, but these errors were encountered: