2.2.6
Reproduction linkhttps://jsbin.com/holacowepe/1/edit?html,js,console
Steps to reproduceScript content isn't touched at all.
What is actually happening?All html tags are removed.
I am migrating a website to Vue and do have some plain js code that reads out templates in a script tag on click. When the html is within a Vue template it removes all html tags in the script tag. I can't rewrite the whole site so I wanted to leave this part as it is. The same happens if I use v-pre which to my understanding should prevent Vue from doing anything to this part of the DOM.
I guess there are good reasons for the behavior but I haven't quite figured them out yet...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4