--- trunk/lib/Frey/Web.pm 2008/11/19 03:00:46 445
+++ trunk/lib/Frey/Web.pm 2008/11/19 03:11:11 446
@@ -79,7 +79,7 @@
$out .= $self->_inline_path( $path ) ?
qq|| :
qq||;
- } elsif ( $path =~ m{<.+>} ) {
+ } elsif ( $path =~ m{<.+>}s ) {
$out .= $path;
} else {
confess "don't know how to render $path";
@@ -104,7 +104,7 @@
return if ! defined $path || $path eq '';
$path =~ s!^/!!;
- if ( $path =~ m{<.*>} ) {
+ if ( $path =~ m{<.*>}s ) {
push @{ $self->head }, $path;
} elsif ( -e $path ) {
if ( $path =~ m/\.(?:js|css)$/ ) {