SOLVED - v-html not rendering as HTML #9344
Unanswered
Davdup
asked this question in
General - Components / Directives / etc
Replies: 1 comment
-
Ok I'm stupid... I was not checking the right cell in the rendered page. Everything works fine since the beginning... 30min of my life lost forever. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to use some text stored like this:
{ source: "Power supply", comment: "<ul><li>1 off 1-phase 230VAC 50Hz from UPS-A</li><li>1 off 1-phase 230VAC 50Hz from UPS-B</li></ul>" },
in a table and render the comment field as html. I tried the v-html directive (see below), but it still renders as plain text... Any idea how I could achieve this??
<td style="width:60%;"><div v-html="line.comment"/></td>
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions