Tencent / Tencent/cherry-markdown

[Bug Report] 公式表达式 生成html 后会重复

Open
#764 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐞bug
Dominant language
JavaScript
Stars
4.9k
Forks
572
Avg merge
17h 5m
Merged PRs (30d)
14

Description

Prerequisites
Describe the Bug

$ 2 ^{31} $ 在编辑器中展示的结果如下
image

但是转换为html后的展示结果如下出现了重复

image
Reproduction Steps

No response

System Information

No response

Contributing

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.