jdan / dynamo.js

Cycles through bits of text in place
http://jdan.github.io/dynamo.js/
MIT License
626 stars 65 forks source link

Some characters are not correctly escaped #3

Open rmariuzzo opened 12 years ago

rmariuzzo commented 12 years ago

If I have the following markup:

<h3 data-lines="Pidió">Hello</h3>

It will not render correclty since the ó is not correctly escaped. But it will work fine if I replace ó with &oacute (that is the HTML entity).

jdan commented 12 years ago

jQuery's .text() is a fickle beast. I'll see what I can cook up.

jdan commented 12 years ago

As reported by sin1947a@excite.co.jp, japanese characters behave wildly as well.

rmariuzzo commented 12 years ago

I would like to give a help on this issue. I will do so, when I get some time.