HughDai / embeddedjavascript

EJS cleans the HTML out of your JavaScript with client side templates
http://code.google.com/p/embeddedjavascript
Other
0 stars 0 forks source link

htmlentities #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. encode value with htmlentities (from phpjs)
2. add it in a input text value=""
3. input displays """

What is the expected output? What do you see instead?

Using latest google chrome.

expected: "
instead: "

I have to fix them after pageload:

$("input[type=text]").each(function() {
  $(this).val(html_entity_decode($(this).val()));
});

if I reinput the original value via google chrome debug console, it's decoded 
proprely
12:13 <~Sirber> niaiserie de

Original issue reported on code.google.com by s1r...@gmail.com on 11 Nov 2011 at 5:43

GoogleCodeExporter commented 9 years ago
more a browser bug than an embeddedjs bug

Original comment by s1r...@gmail.com on 11 Nov 2011 at 6:44