Skip to content

HTML tags rendered as string in DOM #13

@imanubhardwaj

Description

@imanubhardwaj

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.
image
But when I look into the page source, it shows that HTML is rendered as string in DOM.

image

I want it to be rendered as HTML. How can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions