We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.5.2
https://jsfiddle.net/50wL7mdz/71870/
this is the html that does not work:
<div id="app"> <div v-bind:class="true 	? 'a' : '' "></div> </div>
this is the html that does work:
<div id="app"> <div v-bind:class="true ? 'a' : '' "></div> </div>
this is the JavaScript:
new Vue({ el: '#app' })
Vue should be able to compile the template no matter if a horizontal-tab is in the attribute or not
vue fails to compile template:
[Vue warn]: Error compiling template: <div id="app"> <div v-bind:class="true 	? 'a' : '' "></div> </div> - invalid expression: Invalid character in true 	? 'a' : '' Raw expression: v-bind:class="true 	? 'a' : '' " (found in <Root>) vue.js (577,7)
This happens in Internet Explorer and Edge.
It works in Chrome and Firefox.
Its related to this Bug:
:style with multiline attribute removes root element in all versions of IE #3663
which has been fixed in:
handle multiline atribute value parsing in IE (fix #3663)
As seen in the error message it doesnt complain when there are in the template, but does on 	.
	
I ran into this bug because i write long attributes in multiple lines and use horizontal-tabs to indent these lines so its easier to read.
The text was updated successfully, but these errors were encountered:
cfd73c2
fix: handle encoded tabs and newlines in attributes for Chrome a[href…
ca4fa18
…] and IE/Edge fix vuejs#6828, fix vuejs#6916
707b2cc
0833d7f
b37202c
No branches or pull requests
Version
2.5.2
Reproduction link
https://jsfiddle.net/50wL7mdz/71870/
Steps to reproduce
this is the html that does not work:
this is the html that does work:
this is the JavaScript:
What is expected?
Vue should be able to compile the template no matter if a horizontal-tab is in the attribute or not
What is actually happening?
vue fails to compile template:
This happens in Internet Explorer and Edge.
It works in Chrome and Firefox.
Its related to this Bug:
:style with multiline attribute removes root element in all versions of IE #3663
which has been fixed in:
handle multiline atribute value parsing in IE (fix #3663)
As seen in the error message it doesnt complain when there are
in the template, but does on	
.I ran into this bug because i write long attributes in multiple lines and use horizontal-tabs to indent these lines so its easier to read.
The text was updated successfully, but these errors were encountered: