You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Aaron Duley (JIRA)" <ji...@apache.org> on 2010/02/10 15:34:27 UTC

[jira] Created: (WOOKIE-113) Wookie reordering script tags

Wookie reordering script tags
-----------------------------

                 Key: WOOKIE-113
                 URL: https://issues.apache.org/jira/browse/WOOKIE-113
             Project: Wookie
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.8.3
         Environment: Mac OS
            Reporter: Aaron Duley


This issue relates to Wookie-42, but the behavior is the same regardless of whether self-closing tags are used.

Here is an example:

1. <script type="text/javascript" src="http://www.google.com/jsapi"></script>
2. <script type="text/javascript">                           
3.     google.load("dojo", "1.4.1");
4. </script>

Wookie/HTMLCleaner reorders the tags such that the external source (line 1) is rewritten to appear after the statements in lines 2-4. This results in an error because the statement in line 3 depends on prior loading of the script in line 1.

Is there a way to switch off HTMLCleaner temporarily until this is resolved.

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