Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1.0.5
-
None
Description
I've encountered what I think is a bug in the rendering of an ajax response.
Basically, we're returning a block that contains a textfield component. The
value of that textfield component is something with a single quote in it,
for example "o'reilly". The response markup for that textfield is:
<input value='o'reilly' id='addressLine1-1215dd60f22'
name='addressLine1' type='text'><\/input>
which renders as "o'reilly" in Firefox, but in IE the value renders as
"o'reilly". According to
http://cssvault.com/blog/2007/10/17/internet-explorer-apos-feature/ , it
should be rendering out ' instead.
I've looked into where the ' is coming from and its in the
AbstractMarkupModel class, in the encodeQuoted() method (around line 132).