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
Add IE conditional comments with HTML inside them.
What is Expected?
Stay hidden unless the version of IE is matched. Thus hidden in all other non-IE browsers.
What is actually happening?
IE conditional comments are removed and thus content inside the conditional is always displayed.
If there is no HTML then the content is hidden (as it should be).
The text was updated successfully, but these errors were encountered:
darrylhein
changed the title
Breaks IE conditional statements (removes)
Breaks IE conditional statements
Nov 4, 2016
darrylhein
changed the title
Breaks IE conditional statements
v2.0.4 Breaks IE conditional statements
Nov 4, 2016
FYI Vue removes the comments during template parsing, so supposedly the conditional content would not show in IE8 either. You probably don't want to use Vue to compile these conditional comments at all.
darrylhein
added a commit
to xmmedia/starter_symfony
that referenced
this issue
Nov 5, 2016
Vue.js version
2.0.4 (works in 2.0.3)
Reproduction Link
http://codepen.io/darrylhein/pen/BQabVR
Steps to reproduce
Add IE conditional comments with HTML inside them.
What is Expected?
Stay hidden unless the version of IE is matched. Thus hidden in all other non-IE browsers.
What is actually happening?
IE conditional comments are removed and thus content inside the conditional is always displayed.
If there is no HTML then the content is hidden (as it should be).
The text was updated successfully, but these errors were encountered: