[ 
https://issues.apache.org/jira/browse/WICKET-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14349132#comment-14349132
 ] 

Martin Grigorov commented on WICKET-5849:
-----------------------------------------

Wicket wraps the content in CDATA only for <script> elements with 
type="text/javascript" and without 'type' attribute (because text/javascript is 
the default). Any other type is not touched.

> error parsing valid HTML 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 {code:html}&nbsp;{code} inside the 
> template/script definition.



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

Reply via email to