notaapp / talk

Issues and discussions for the notes app, Nota.
https://nota.md
60 stars 1 forks source link

Math isn't rendered properly when it ends with curly braces #363

Open jxxe opened 1 year ago

jxxe commented 1 year ago

This $\LaTeX$ is valid:

$f(x) = \{f(x) : x \in X\}$

GitHub renders it correctly: $f(x) = {f(x) : x \in X}$

Nota, for some reason, doesn't:

image

Nota requires it to look like this to render:

$f(x) = \{f(x) : x \in X\}{}$

It also renders if there's text directly after it:

$f(x) = \{f(x) : x \in X\}$abc
image

Nota has no problem if it doesn't end in a curly brace:

$x \in X$
astoilkov commented 1 year ago

Yeah, that's a bug in one of our dependencies. However, the dependency is open-source and no longer maintained ☹️. The fix won't be that easy.