ralee
4780
13
Vue

Escape Html characters with vue.js

Posted 3 years ago by ralee

Hi Guys,

Does anyone know how i can escape Html characters/symbol with vue.js? This is my current approach

<p> @ { { description } } </p>
<!--separated with space to illustrate my code -->

But its returning

-65&#176;C to 165&#176;C

instead of -65°C to 165°C

Thanks in advance,

Cheers Ralee

Please sign in or create an account to participate in this conversation.