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

Nick Pratt commented on WICKET-5849:
------------------------------------

Would it be possible for us to define what types are wrapped in the 
StyleAndScriptIdentifiers?  Make it default to text/javascript, but allow us to 
also register (on Application startup) additional template types, like 
"text/template" and "text/x-handlebars-template"  (our Handlebars template was 
what triggered this issue in the first place - we're using 
jquery/Handlebars/json-rest along with Wicket)

> 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} {code} inside the 
> template/script definition.



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

Reply via email to