pz7gc3 / embeddedjavascript

Automatically exported from code.google.com/p/embeddedjavascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htmlentities

GoogleCodeExporter opened this issue · comments

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

more a browser bug than an embeddedjs bug

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