You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shown in the picture, when I send a comment, the mathematical formula displays normally, but after refreshing, the mathematical formula displays abnormally (all characters after \ seem to be escaped and disappear)
It is worth mentioning that when I use a custom texRender, the situation is exactly the same. When I output the incoming parameters in the custom rendering function (console.log(``)), the tex content is displayed as a \times b.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the bug | 问题描述
如图所示,当我发送评论时,数学公式显示正常,然而刷新后数学公式显示异常(所有的
\
后字符似乎均被转义消失)值得一提的是,当我使用自定义 texRender 时,情况完全相同,当我在自定义渲染函数中输出传入的参数时(
console.log(``)
),显示 tex 内容为a \times b
。Website URL | 问题网站
blog.cnryh.cn
Where your waline deploy? | 服务部署在哪里?
Vercel (Default)
Where your comment data store? | 数据存储在哪里?
PostgreSQL
Describe the bug | Problem description
As shown in the picture, when I send a comment, the mathematical formula displays normally, but after refreshing, the mathematical formula displays abnormally (all characters after
\
seem to be escaped and disappear)It is worth mentioning that when I use a custom texRender, the situation is exactly the same. When I output the incoming parameters in the custom rendering function (
console.log(``)
), the tex content is displayed asa \times b
.Website URL | Problem website
blog.cnryh.cn
Where your waline deploy? | Where is the service deployed?
Vercel (Default)
Where your comment data store? | Where is the data stored?
PostgreSQL
Beta Was this translation helpful? Give feedback.
All reactions