A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/4268 below:

Unicode \u2028 character crashing vue · Issue #4268 · vuejs/vue · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4