S
S
Sergey Semenov2020-02-15 15:01:24
Vue.js
Sergey Semenov, 2020-02-15 15:01:24

How to render text containing HTML tags?

Data comes from the back in an object that has a field with text, but the text is wrapped in tags with classes, styles, etc., i.e. they do not need to be removed. I don't understand how they can be drawn.5e47dd90bde1a850056312.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Koltunov, 2020-02-15
@Skaper777

Use v-html
https://en.vuejs.org/v2/guide/syntax.html#%D0%A1%D...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question