v-html
attribute JS-0693It is recommended to use interpolation expressions instead of using v-html
as it prevents injection attacks like XSS.
Injecting HTML is a feature available to any front-end framework and used by websites when the server renders HTML.
Using interpolation expressions is recommended as expression here gets stringified instead of getting executed, unlike in v-html
<div v-html="someHTML"></div>
<div>{{ someHTML }}</div>