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

小程序公式解析出错 #289

Open
yzDeamon opened this issue Jul 27, 2024 · 2 comments
Open

小程序公式解析出错 #289

yzDeamon opened this issue Jul 27, 2024 · 2 comments

Comments

@yzDeamon
Copy link

yzDeamon commented Jul 27, 2024

后台接口返回的字符串
$\\because A B=B D=4, $↵$\\therefore A B=\\sqrt{4^{2}+4^{2}}=\\sqrt{2}, $↵$\\cos B=\\frac{B D}{A B}=\\frac{4}{4 \\sqrt{2}}=\\frac{\\sqrt{2}}{2} .$

小程序显示,在后台管理Markdown编辑器中显示正常
IMG_20240727_225631
下面这样写可以正常解析
$\\because A B=B D=4, $
IMG_20240727_225920

@sbfkcel
Copy link
Owner

sbfkcel commented Jul 29, 2024

注意内容转译:#138

@yzDeamon
Copy link
Author

yzDeamon commented Aug 1, 2024

打了一下断点,发现和内容转义没啥关系,是$↵$这块造成被识别为$$,导致公式无法被替换成

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