diff --git a/lib/JSTAPd/Contents.pm b/lib/JSTAPd/Contents.pm index 47e6192..770f070 100644 --- a/lib/JSTAPd/Contents.pm +++ b/lib/JSTAPd/Contents.pm @@ -273,7 +273,7 @@ sub build_html { my $index = $self->slurp; $body = sprintf '
%s
', $body; $index =~ s/\$HEAD/$head/g; - $index =~ s/\$BODY/$body/g; + $index =~ s{\$BODY}{$body
}g; $index; }