From 16a7634fb42d92a4503e7c221c253ee33c62a56e Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 22 Jan 2018 21:18:33 -0800 Subject: [PATCH] the prefilter was killing newlines right before '<:-', fix that --- Debbugs/Text.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/Text.pm b/Debbugs/Text.pm index dfc1d3c..53ecf04 100644 --- a/Debbugs/Text.pm +++ b/Debbugs/Text.pm @@ -132,7 +132,7 @@ sub __text_xslate_functions_text { sub __html_template_prefilter { my $text = shift; $text =~ s/^\s+:/:/mg; - $text =~ s/((?:^:[^\n]*\n)?)\s+(<:-)/$1$2/mg; + $text =~ s/((?:^:[^\n]*\n)?)\s*(<:-)/$1$2/mg; $text =~ s/(-:>)\s+(^:|)/$1.(length($2)?"\n$2":'')/emg; return $text; } -- 2.39.2