apache / apache/answer-plugins

[Bug] Formula rendering fails in answers and page freezes when typing `$`

未关闭
#313 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
131
派生
75
PR 合并指标
30 天内没有已合并 PR

描述

I am using `editor-formula` with Apache Answer. I've encountered two issues:
1. Formulas are not rendered in the answer body, even though they work well in the question body and editor.

Image

2. Typing `$` symbols in the markdown editor causes the entire browser tab to become unresponsive.

Image

Image

**Steps to Reproduce the Freezing:**
Open any question/answer editor and type `$ $$`.

**Environment:**
- Apache Answer: 2.0.0
- editor-formula: 1.2.15
- Browser: Chrome 147 / Firefox 149

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先,在 Apache Answer 2.0.0 的 editor-formula 插件中复现这两种行为:在回答中渲染一个公式,然后在问题或回答编辑器中输入 `$ $$`。跟踪回答正文的渲染路径和 Markdown 编辑器路径;完成的标准是公式能在回答中渲染,并且输入报告的符号不再使 Chrome 或 Firefox 卡死。

由索引模型根据 Issue 内容生成。

评估

技术栈
markdown
领域
frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。