WordPress.org

Plugin Directory

Changeset 392922


Ignore:
Timestamp:
06/04/11 01:28:06 (3 years ago)
Author:
sivel
Message:

Use comment block around CDATA instead of due to issues caused by minification of the html content

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shadowbox-js/trunk/inc/frontend.php

    r392384 r392922  
    214214        // The full Shadowbox configuration 
    215215        $init  = "<script type=\"text/javascript\">\n"; 
    216         $init .= "//<![CDATA[\n"; 
     216        $init .= "/* <![CDATA[ */\n"; 
    217217        $init .= "  var shadowbox_conf = {\n"; 
    218218        $init .= rtrim ( $init_opts , " ,\n" ) . "\n"; 
    219219        $init .= "  };\n"; 
    220220        $init .= "  Shadowbox.init(shadowbox_conf);\n"; 
    221         $init .= "//]]>\n"; 
     221        $init .= "/* ]]> */\n"; 
    222222        $init .= "</script>\n"; 
    223223 
Note: See TracChangeset for help on using the changeset viewer.