[ 
http://jira.magnolia-cms.com/browse/MGNLFORM-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29105#action_29105
 ] 

Jan Haderka commented on MGNLFORM-52:
-------------------------------------

Nice catch. I agree that we need a consistent approach and I've reverted the 
changes for now.
Further more the html encoding is not applied in all the templates in the form 
module consistently. Most of the fields do not have encoded title and 
description, hidden field doesn't have encoded even the value.
The reason why all the STK content is wrapped is to prevent forgetting to use 
the {{?html}} builtin in the templates.

> Form paragraph title and text are encoded twice 
> ------------------------------------------------
>
>                 Key: MGNLFORM-52
>                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-52
>             Project: Magnolia Form Module
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Zdenek Skodik
>            Assignee: Jan Haderka
>             Fix For: 1.1.2
>
>
> * at {{STKParagraphRenderer.wrapNodeForTemplate() - STKUtil.encode()}}
> * and at form.ftl
> As a result, if one enters characters which have an html-entity equivalent 
> (angle brackets, ampersand, accented letters, ...), the browser displays text 
> such as "{{the &amp;auml; &amp;gt; text}}" (instead of "{{the ä < text}}" in 
> this example)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to