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

Andrea Del Bene resolved WICKET-6505.
-------------------------------------
    Resolution: Not A Bug

Hi,

by default  HTML sensitive characters are escaped. You can disable it using 
Component#setEscapeModelStrings(false). See 
https://ci.apache.org/projects/wicket/guide/8.x/single.html#_what_is_a_model

> AssertLabel in Wicket Tester doesn't work with "&"
> --------------------------------------------------
>
>                 Key: WICKET-6505
>                 URL: https://issues.apache.org/jira/browse/WICKET-6505
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 8.0.0-M8
>            Reporter: Ɓukasz Ludwa
>            Assignee: Andrea Del Bene
>         Attachments: myproject.zip
>
>
> Adding following label works property:
> {code:java}
> add(new Label("test", "&&&&&"));
> {code}
> But in ensuing test case fails:
> {code:java}
> tester.assertLabel("test", "&&&&&");
> {code}
> Giving incoming difference:
> {noformat}
> Expected :&&&&&
> Actual   :&&&&&
> {noformat}
> Seems like problem with this html special character.
> I attached Wicket Quick Start project  with this problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to