Sometimes, latex equations in Notes mode that are wrapped in brackets cannot be rendered properly (and shows this red text)

If I removed the brackets, it renders properly

I am able to reproduce the issue with a minimal example.
If the latex equation is wrapped in a bracket β( or )β and the latex equation contains macros (e.g. \text{} or \frac{}{}), then it fails to render.
Here are some examples:

Share update with 0 linked conversations as well
In Review
π Bug Reports
About 2 hours ago

Hadrian
Get notified by email when there are changes.
In Review
π Bug Reports
About 2 hours ago

Hadrian
Get notified by email when there are changes.