-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
Vue.js version
2.0.8
Reproduction Link
http://jsfiddle.net/3hmp0e16/1/
Steps to reproduce
Run the JSFiddle above and you will see that content is not visible.
What is Expected?
I would expect the app to run regardless of the Unicode characters, without errors.
What is actually happening?
Uncaught TypeError: Cannot set property 'isStatic' of undefined
for Vue 2.0.8 when \u2028 character is in DOM element attribute on creating new Vue instance.
<img src="http://placehold.it/350x150" alt="hello\u2028 word" />
[Vue warn]: failed to compile template:
<div id="app">
<img src="http://placehold.it/350x150" alt="hello
word">
</div>
(found in root instance)warn @ vue.js:2658compileToFunctions @ vue.js:7826Vue$3.$mount @ vue.js:7895initRender @ vue.js:2234Vue._init @ vue.js:2597Vue$3 @ vue.js:2641window.onload @ (index):49
vue.js:2658 [Vue warn]: Error when rendering root instance: warn @ vue.js:2658Vue._render @ vue.js:2269(anonymous function) @ vue.js:1709get @ vue.js:740Watcher @ vue.js:732Vue._mount @ vue.js:1708Vue$3.$mount @ vue.js:5746Vue$3.$mount @ vue.js:7906initRender @ vue.js:2234Vue._init @ vue.js:2597Vue$3 @ vue.js:2641window.onload @ (index):49
vue.js:2278 TypeError: Cannot set property 'isStatic' of undefined(…)
Related to #3895