You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2015/03/10 22:49:42 UTC

[jira] [Resolved] (WICKET-5849) parsing fails of HTML entity inside text/template script-tag during AJAX refresh

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

Sven Meier resolved WICKET-5849.
--------------------------------
    Resolution: Later

I'm reluctant to change this central part of Wicket's Ajax handling.

You can monkey-patch Wicket.Xml.parse() as you see fit. Please report back when you've found a satisfying solution that works in all browsers.

> parsing fails of HTML entity inside text/template script-tag during AJAX refresh
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-5849
>                 URL: https://issues.apache.org/jira/browse/WICKET-5849
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.17.0, 6.19.0
>         Environment: JDK 8u31, OS X, Chrome
>            Reporter: Nick Pratt
>            Assignee: Sven Meier
>         Attachments: myproject.tar.gz
>
>
> See attached quickstart.
> On initial page load, everything is fine - the TestPanel is parsed correctly and displayed.  Hit the link to reload the TestPanel via AJAX - wicket is getting hung up on the non breaking space inside the template/script definition:
> {code:html}
> <script id="template1" type="text/template">
>     <div><a>&nbsp;</a></div>
> </script>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)