equal
deleted
inserted
replaced
3371 $reserved_words = '(' . implode('|', $reserved_words) . ')'; |
3371 $reserved_words = '(' . implode('|', $reserved_words) . ')'; |
3372 |
3372 |
3373 for ( $i = 0; $i < count($jscript[0]); $i++ ) |
3373 for ( $i = 0; $i < count($jscript[0]); $i++ ) |
3374 { |
3374 { |
3375 $js =& $jscript[2][$i]; |
3375 $js =& $jscript[2][$i]; |
3376 if ( empty($js) ) |
3376 if ( trim($js) == '' ) |
3377 continue; |
3377 continue; |
3378 |
3378 |
3379 $js = $jsc->getClean($js); |
3379 $js = $jsc->getClean($js); |
3380 |
3380 |
3381 $replacement = "<script{$jscript[1][$i]}>/* <![CDATA[ */ $js /* ]]> */</script>"; |
3381 $replacement = "<script{$jscript[1][$i]}>/* <![CDATA[ */ $js /* ]]> */</script>"; |