Почему v- html не рендерит html - PullRequest
0 голосов
/ 31 марта 2020

Я пытаюсь визуализировать некоторые html из API. Тег v- html не помещает теги

на страницу, а не обрабатывает их как html.

. Это данные, которые я отображаю

Bio:"<p>Throughout his PhD and post-doctoral research, Dr David focussed on transdermal medical technology. While presenting his research at a skincare conference, he had his "light-bulb moment" realising the expertise he had developed could be reapplied to solve some of the major challenges facing the global cosmetic skincare industry. </p>"

this это html с v- html

<div v-html="decodeURIComponent(teamMember.Bio)"></div>

Я также пытался

<div v-html="teamMember.Bio"></div>

и

<div v-html="decodeURI(teamMember.Bio)"></div>

, но все они показывают теги параграфа на странице вместо рендеринга

...