FumingDing / embeddedjavascript

Automatically exported from code.google.com/p/embeddedjavascript
0 stars 0 forks source link

htmlentities #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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 8 years ago
more a browser bug than an embeddedjs bug

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