Tencent / Tencent/cherry-markdown
[Bug Report] 公式表达式 生成html 后会重复
Open
Nobody has claimed this yet.
🐞bug
- Dominant language
- JavaScript
- Stars
- 4.9k
- Forks
- 572
- Avg merge
- 17h 5m
- Merged PRs (30d)
- 14
Description
Prerequisites
- There isn't an existing issue that reports the same bug to avoid duplicates.
- The provided information offers a minimal reproducible example of the bug.
- For Q&A, please open a GitHub Discussion instead.
Describe the Bug
$ 2 ^{31} $ 在编辑器中展示的结果如下
但是转换为html后的展示结果如下出现了重复
Reproduction Steps
No response
System Information
No response
Contributing
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are named. Start by reproducing the reported difference between the editor and generated HTML with $ 2 ^{31} $, then trace the formula-rendering path and add a regression test showing that the generated HTML no longer repeats the expression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100