You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the new comments: true property on a vue instance does not understand block comments, and it also errors when single quotes ' are used within inline comments.
This is particularly annoying in Drupal development when debugging templates, since the template debug output is done using block comments and contains single quotes. See codepen example for a typical Drupal comment block output.
What is expected?
Comments should be rendered correctly within the outputted HTML.
What is actually happening?
VueJS fails to render the instance and throws an exception when trying to parse the comments.
I believe this would happen when using Drupal 7 or 8 with development debugging turned on, when using Vue 2.4 .
The text was updated successfully, but these errors were encountered:
Muffinman
changed the title
HTML Block comments not working
HTML Block comments not parsed
Jul 18, 2017
Muffinman
changed the title
HTML Block comments not parsed
HTML block comments & single quotes not parsed correctly
Jul 18, 2017
Version
2.4.1
Reproduction link
https://codepen.io/anon/pen/dREmrV
Steps to reproduce
Using the new
comments: true
property on a vue instance does not understand block comments, and it also errors when single quotes'
are used within inline comments.This is particularly annoying in Drupal development when debugging templates, since the template debug output is done using block comments and contains single quotes. See codepen example for a typical Drupal comment block output.
What is expected?
Comments should be rendered correctly within the outputted HTML.
What is actually happening?
VueJS fails to render the instance and throws an exception when trying to parse the comments.
I believe this would happen when using Drupal 7 or 8 with development debugging turned on, when using Vue 2.4 .
The text was updated successfully, but these errors were encountered: