-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
html代码块中scipt标签解析错误,已允许代码块内脚本 #12921
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
Comments
我这里逐个字符输入也正常,而且在 |
弹窗是正常的…… |
我知道了,这个html代码块是实时解析的,在解析过程中出现的问题,导致我后面怎么改都有问题,我是先粘贴网上的代码,再修改的,刚才的测试代码删了,无法重现刚才的问题了。 现在测试外面编辑好是没问题的。 |
好的,那就这样吧,我关闭了。 |
我这里也是控制台报错之后就会一直报错 |
嗯,再有问题再说。
@TCOTC 可以研究下能否稳定重现。 |
不清楚耶,刚才点引用回复,就这样了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
已开启HTML代码块内脚本选项。
当在html代码块中输入

<script>xxxx</script>
等内容时,script标签解析错误,如图生成的代码中,不仅两处,还多出了

</script></div>
内容,导致script内的脚本报错无法执行。关联帖子:https://ld246.com/article/1729935510467/comment/1729948008065?r=wilsons#comments
Expected result
期望能正常生成script脚本内容
Screenshot or screen recording presentation
No response
Version environment
Log file
no
More information
No response
The text was updated successfully, but these errors were encountered: