-
Notifications
You must be signed in to change notification settings - Fork 171
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
真机渲染某些 Markdown 的时候出现 SyntaxError Unexpect EOF 错误 #7
Comments
有试过屏蔽页面其它部分吗?确定是remark导致的? |
查了一下,这个会不会是其它地方JSON解析的问题? |
确实,应该是其他地方 json 的问题。wx.request 之后解析不对的问题,我再看看吧。感谢回复哈。 |
找到问题了,把文本粘贴到 JSBIN 上发现有个小红点,不可见字符,去掉就行了。调试正常,微信浏览器真机会出现错误~~ http://stackoverflow.com/questions/12719859/no-visible-cause-for-unexpected-token-illegal 还是感谢作者~~错怪 Wemark 了哈。Wemark 很赞,👍 ~~ |
这个问题还挺诡异,回头我也研究一下。
解决问题就好。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如渲染下面这个文本的时候:
真机上出现错误:
虽然 Markdown 能显示,但这会导致页面的其它 JS 执行失败。比如其它不相关的元素显示不了。
求教~~
@TooBug
The text was updated successfully, but these errors were encountered: