[ 
https://issues.apache.org/jira/browse/TAP5-714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago H. de Paula Figueiredo resolved TAP5-714.
------------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0.0
         Assignee: Thiago H. de Paula Figueiredo

Patch applied and committed. Thanks Ciaran Wood!

> Incorrect encoding of single quotes for Ajax requests
> -----------------------------------------------------
>
>                 Key: TAP5-714
>                 URL: https://issues.apache.org/jira/browse/TAP5-714
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Ciaran Wood
>            Assignee: Thiago H. de Paula Figueiredo
>            Priority: Minor
>             Fix For: 5.2.0.0
>
>         Attachments: TAP-714.patch
>
>
> 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&apos;reilly' id='addressLine1-1215dd60f22'
> name='addressLine1' type='text'><\/input>
> which renders as "o'reilly" in Firefox, but in IE the value renders as
> "o&apos;reilly". According to
> http://cssvault.com/blog/2007/10/17/internet-explorer-apos-feature/ , it
> should be rendering out &#39; instead.
> I've looked into where the &apos; is coming from and its in the
> AbstractMarkupModel class, in the encodeQuoted() method (around line 132). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to