content/control/EditSurveyResponse escaped HTML?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

content/control/EditSurveyResponse escaped HTML?

James McGill-5
content/control/EditSurveyResponse puts escaped HTML on the page instead of
the rendered survey.

applications/content/webapp/content/survey/EditSurveyResponse.ftl  has
${surveyString}    but
that apparently escapes the page.   ${surveyString?html} just adds another
level of escaping, and
I couldn't see how to "unescape" from here.

It looks to me like there really should be a call to surveyWrapper.render()
or something like that --
or is it the intended behavior to show the  HTML output instead of the
rendered survey?

--
James McGill
Able Engineering
Reply | Threaded
Open this post in threaded view
|

Re: content/control/EditSurveyResponse escaped HTML?

Jacques Le Roux
Administrator
Thanks James,

Fixed at r815687  in trunk and r815689 in R9.04

Jacques

From: "James McGill" <[hidden email]>

> content/control/EditSurveyResponse puts escaped HTML on the page instead of
> the rendered survey.
>
> applications/content/webapp/content/survey/EditSurveyResponse.ftl  has
> ${surveyString}    but
> that apparently escapes the page.   ${surveyString?html} just adds another
> level of escaping, and
> I couldn't see how to "unescape" from here.
>
> It looks to me like there really should be a call to surveyWrapper.render()
> or something like that --
> or is it the intended behavior to show the  HTML output instead of the
> rendered survey?
>
> --
> James McGill
> Able Engineering
>

Reply | Threaded
Open this post in threaded view
|

Re: content/control/EditSurveyResponse escaped HTML?

James McGill-5
On Wed, Sep 16, 2009 at 2:36 AM, Jacques Le Roux <
[hidden email]> wrote:

> Thanks James,
>
> Fixed at r815687  in trunk and r815689 in R9.0


Thank you for that rapid fix, Jacques.

--
James McGill
Able Engineering
Phoenix AZ