New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment inside of a template is treated as a string sometimes #2993

Closed
simplesmiler opened this Issue Jun 1, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@simplesmiler
Member

simplesmiler commented Jun 1, 2016

Vue.js version

1.0.22 to 1.0.24 (regression from 1.0.21)

Reproduction Link

1.0.22: https://jsfiddle.net/simplesmiler/bcga4gpk/
1.0.21: https://jsfiddle.net/simplesmiler/bcga4gpk/1/

What is Expected?

Comments are invisible.

What is actually happening?

Comments are visible sometimes. The trigger appears to be the absence of "solid" siblings (comments and text nodes are not "solid"), the comment appears to be treated as a text node.

@simplesmiler simplesmiler self-assigned this Jun 1, 2016

@simplesmiler

This comment has been minimized.

Show comment
Hide comment
@simplesmiler

simplesmiler Jun 1, 2016

Member

I'll give it a go this evening, should be fairly easy to fix.

Member

simplesmiler commented Jun 1, 2016

I'll give it a go this evening, should be fairly easy to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment