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:
parent
17067470e9
commit
d0884afb59
10 changed files with 21 additions and 21 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue