-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Search first
- I searched and no similar issues were found
What Happened?
The {{cloze}} macro fails to render interactively when the same block contains inline subscript or superscript syntax (e.g., ^{ } or _{ }). The cloze card is displayed as plain, non-interactive text instead of a hideable/revealable element.
Reproduce the Bug
- Create a new Logseq page.
- Type the following content inside an existing block (ensure it is indented to create a sub-block):
This is usally highlighted by the accumulation of the {{cloze Ca^{ +2} ions}} . This will be seen as {{cloze <ins>large flocculent amorphous densities in TEM</ins>}}- Switch to the flashcard / review view and attempt to interact with the cloze card.
Expected Behavior
The {{cloze Ca^{+2} ions}} macro should render as a normal interactive cloze deletion — hiding the content and revealing it on click/tap.
The superscript (^{+2}) inside the cloze should render correctly as Ca²⁺ within the hidden/revealed element.
Files
Browser, Desktop or Mobile Platform Information
OS: MacOS
Verision: 2.0.1 a0b1093
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels