apache / apache/answer-plugins

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

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
131
Forks
75
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing both behaviors in the editor-formula plugin with Apache Answer 2.0.0: render a formula in an answer, then type `$ $$` in a question or answer editor. Trace the answer-body rendering path and the markdown editor path; done means formulas render in answers and typing the reported symbols no longer freezes Chrome or Firefox.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.