MoonshotAI / MoonshotAI/kimi-code
[Bug/Web]Web前端LaTeX公式渲染不正确
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What version of Kimi Code is running?
0.18.0
Which open platform/subscription were you using?
kimi-code/kimi-for-coding
Which model were you using?
kimi-code/kimi-for-coding
What platform is your computer?
Windows 11 25H2, Pro Workstation x64
What issue are you seeing?
在web前端中,公式渲染不正确,蓝色高亮部分不应该出现,不同LaTeX定界符处理均不正确,如图。
What steps can reproduce the bug?
- 使用
kimi web命令打开前端页面 - Prompt:
使用不同的定界符输出公式 E = mc2 - 观察到Kimi返回的结果渲染不正确,如图
What is the expected behavior?
公式正确渲染,多余部分不应该出现
Additional information
No response
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
Start by running the kimi web command and reproducing the issue with the prompt 使用不同的定界符输出公式 E = mc2. Then trace the web frontend's LaTeX formula rendering and delimiter handling. Done means the formula renders correctly for the different delimiters without the extra highlighted content shown in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100