You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const text = "<p>What is the value of $\sqrt{3x-1}+(1+x)^2$?</p>";
I passed text as formula in the vue-mathjax component and passed false value to safe prop. It is rendering the DOM correctly.
But when I look into the page source, it shows that HTML is rendered as string in DOM.
I want it to be rendered as HTML. How can I fix this?
The text was updated successfully, but these errors were encountered:
const text = "<p>What is the value of $\sqrt{3x-1}+(1+x)^2$?</p>";
I passed
text
as formula in the vue-mathjax component and passed false value to safe prop. It is rendering the DOM correctly.But when I look into the page source, it shows that HTML is rendered as string in DOM.
I want it to be rendered as HTML. How can I fix this?
The text was updated successfully, but these errors were encountered: