[Vuejs]-Quasar line break is printing as <br /> isntead of line break

5👍

You need to use v-html directive

<div v-html="html"></div>

Here html can be returned raw HTML string.

Refer this for more information:

https://v2.vuejs.org/v2/api/#v-html

Leave a comment