[
https://issues.apache.org/jira/browse/WICKET-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov updated WICKET-3608:
------------------------------------
Attachment: wicket-3608.patch
Here is a IMarkupFilter based solution which unescapes all ComponentTag
attribute values.
It is based on
http://www.docjar.com/html/api/org/apache/commons/lang/Entities.java.html but
without the support for all the HTML entities.
Currently supported ones are: nbsp, lt, gt, amp, quot and #039. If we want to
support all other entities then maybe it will be better to copy the whole
Entities class from commons-lang.
@All: Please share your opinion so I can finish the task.
> input button escapes escaped value
> ----------------------------------
>
> Key: WICKET-3608
> URL: https://issues.apache.org/jira/browse/WICKET-3608
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC3
> Reporter: Sven Meier
> Assignee: Martin Grigorov
> Fix For: 1.5-RC4
>
> Attachments: WICKET-3608-test.patch, double_escaped_test.diff,
> wicket-3608.patch
>
>
> An input button with a value attribute containing escaped characters (>)
> is double escaped when rendered. Worked in 1.4.x.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira