--- trunk/lib/Frey/Web.pm 2009/02/03 20:55:45 1033 +++ trunk/lib/Frey/Web.pm 2009/03/12 20:56:04 1045 @@ -203,7 +203,7 @@ my ( $package, $path, $line ) = caller(1); $content = "/$content" if $content !~ m{[\n\r]} && -e $content; - if ( $content =~ $re_html ) { + if ( $content =~ $re_html && $what ne 'js' ) { $head = qq| $content