You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (JIRA)" <ji...@apache.org> on 2010/01/17 22:06:54 UTC
[jira] Commented: (WOOKIE-102) Javascript can be broken on
reformatting
[ 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.