learningequality / learningequality/studio
Exercises editor does not allow raw KaTeX
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 191
- Forks
- 307
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
Users attempting to write mathematical and scientific symbols have issues as the editor appears to remove extra \ from their input that prevents it being properly rendered.
Attempt to input:
$\\text {Li}_2 \\text SO_4$
And one of the escaping \ will be removed, causing it to be rendered literally in Kolibri.
In addition, while it is possible to make them correctly render in Studio - correctly rendering in Studio is not an accurate indication of them rendering properly in Kolibri.
https://community.learningequality.org/t/issues-with-latex-subscripts/2424/3
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 file or test is named. Start by reproducing the supplied KaTeX input in the exercises editor, then compare its Studio and Kolibri rendering. Done means escaped backslashes are preserved and the example renders correctly in Kolibri.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100