You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jesse Bonzo (JIRA)" <ji...@apache.org> on 2015/02/06 18:23:34 UTC
[jira] [Updated] (WICKET-5830) setEscapeModelStrings false results
in multiple tags
[ https://issues.apache.org/jira/browse/WICKET-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Bonzo updated WICKET-5830:
--------------------------------
Attachment: WicketQuickStart.zip
Quickstart to demonstrate the problem. I included both an escaped and unescaped label. I've tested this with Wicket 6.12 and 6.19, and both result in the undesired behavior.
> setEscapeModelStrings false results in multiple tags
> ----------------------------------------------------
>
> Key: WICKET-5830
> URL: https://issues.apache.org/jira/browse/WICKET-5830
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.12.0, 6.19.0
> Environment: Windows 7 x64
> Reporter: Jesse Bonzo
> Priority: Minor
> Labels: escaping, label
> Attachments: WicketQuickStart.zip
>
>
> When setting a label's content to be "<p>This should work</p>" and setting setEscapeModelStrings to false, it renders as:
> <p class="test-class" wicket:id="escapedLabel"></p>
> <p></p>
> <p>This should work</p>
> This leads to issues when trying to style based on "test-class".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)