Skip to content
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

[Bug] 文本中包含"$xxx$",被渲染成公式 #902

Open
AgAngle opened this issue Sep 24, 2024 · 1 comment
Open

[Bug] 文本中包含"$xxx$",被渲染成公式 #902

AgAngle opened this issue Sep 24, 2024 · 1 comment

Comments

@AgAngle
Copy link

AgAngle commented Sep 24, 2024

版本

2.10.4

问题描述

我的文本内容是个json串:
{"skuId": "${skuId}", "productId": "${productId}"}
结果渲染成这样了:
image

期望

"$xxx$"语法我能理解,但是一般"$xxx$"后面跟个空格才当作公式渲染吧,现在文本中带了两个$就当作公式,应该不合理吧?
能不能"$xxx$"后面跟个空格才当做公式,或者能不能关掉公式渲染的功能?
另外如果有修复 2.x 的版本会修改吗?我看 3.x 用的 vue3,老项目不能直接升级 vue3 。
感谢!

@thwblueboy
Copy link

你的文本可以用code吗?code里面是忽略公式的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants