Do not remove newlines from Templates (or Snippets) since HTML::Packer does not handle newlines with H::T syntax. Fixes bug #11458

This commit is contained in:
Colin Kuskie 2010-03-08 11:38:29 -08:00
parent 17067470e9
commit d0884afb59
10 changed files with 21 additions and 21 deletions

View file

@ -237,8 +237,8 @@ sub simpleHTMLParser {
sub simpleTextParser {
my ($text) = @_;
my ($url) = $text =~ /HREF=(.+?)(LABEL|\Z)/;
my ($label) = $text =~ /LABEL=(.+?)(HREF|\Z)/;
my ($url) = $text =~ /HREF=(.+?)(\n?LABEL|\Z)/;
my ($label) = $text =~ /LABEL=(.+?)(\n?HREF|\Z)/;
return ($url, $label);
}