-
-
Notifications
You must be signed in to change notification settings - Fork 25
The lib does not correctly render some latex types that are normally rendered by MathJax #92
Comments
seems to me you are not escaping the values properly https://github.com/ShaMan123/react-native-math-view#troubleshooting |
In this example I sent, what would be the correct escaping? |
I have attached the link that explain exactly what to do |
I think you didn't understand what I said. |
If mathjax manages then this repo should also because it uses mathjax. |
Also maybe you need to define these macros |
will you please help me related to RNMathVIew not found in UI Manager error. what if the problem and what to do ? |
Describe the bug
If you pass the latex directly to lib via props, for example, the lib will crash.
If you pass the latex manually, the lib works, but it renders the wrong latex.
LaTeX
Latex:
\[\tiny A\, \scriptsize A \, \small A \, \normalsize A \, \large A \, \Large A\, \LARGE A \, \huge A \, \Huge A\]
Escaped Latex:
\tiny A\, \scriptsize A \, \small A \, \normalsize A \, \large A \, \Large A\, \LARGE A \, \huge A \, \Huge A
Expected behavior
What is rendered:
Error when i pass the value as prop:
Related:
RocketChat/Rocket.Chat.ReactNative#5215
The text was updated successfully, but these errors were encountered: