2.5.13
https://jsfiddle.net/tf7ja0y4/1/
Add an HTML block that contains comments with pre directive at the root level. When it's rendered, you'll notice the inline comments have been stripped out.
Inline comments and all the markup remains untouched by Vue
Vue still seems to parse/compile the contents that are inside the pre directive
If pre is not supposed to work that way, I'd love to find another way to disable comment stripping. The reason I need this is because I'm using some legacy KnockoutJS markup inside a larger Vue VM. And some of the KnockoutJS syntax allows using comment bindings/directives which are being stripped out by Vue.
Please read https://vuejs.org/v2/api/#comments and use latest Vue version,because you are using 2.0.1 in your example :)
@sqal Awesome, thanks!
Most helpful comment
Please read https://vuejs.org/v2/api/#comments and use latest Vue version,because you are using 2.0.1 in your example :)
https://jsfiddle.net/vbyc2r5r/