cloze won't work if including formula with `{}` inside
Open
Nobody has claimed this yet.
can-be-reproduced
parser
- Dominant language
- Clojure
- Stars
- 45k
- Forks
- 2.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 105
Description
### **Describe the bug**
The plain text is
```
Example {{cloze $abc_{xx}$ sdafdsf}}
```
The output is

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 file, test, or entry point is named. Start by reproducing the example `{{cloze $abc_{xx}$ sdafdsf}}`, then trace the cloze parsing path and identify where braces inside the formula are mishandled. Done means cloze content containing this formula is parsed and displayed without the reported failure, with a regression test if the relevant test location can be found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, markdown
- Domain
- content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100