[ 
https://issues.apache.org/jira/browse/WOOKIE-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801506#action_12801506
 ] 

Scott Wilson commented on WOOKIE-102:
-------------------------------------

I think this is a duplicate of WOOKIE-64 - this is also a case of HtmlCleaner 
mishandling inline javascript

> Javascript can be broken on reformatting
> ----------------------------------------
>
>                 Key: WOOKIE-102
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-102
>             Project: Wookie
>          Issue Type: Bug
>            Reporter: Ross Gardler
>            Priority: Critical
>
> The following javascript results in an uncolsed string literal:
>               function error_callback(p) {
>                       message = '<p>Unable to determine position</p>';
>                       locationData = document.getElementById("locationData");
>                       locationData.innerHTML = message;
>               }               
> When rendered it is reformatted as:
> function error_callback(p) {
> message = '
> <p>Unable to determine position
> </p>';
> locationData = document.getElementById("locationData");
> locationData.innerHTML = message;
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to