summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/Locale/Po4a/Text.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Locale/Po4a/Text.pm b/perl/Locale/Po4a/Text.pm
index 0cc2cc8..3ceeec9 100644
--- a/perl/Locale/Po4a/Text.pm
+++ b/perl/Locale/Po4a/Text.pm
@@ -220,7 +220,8 @@ sub parse {
# A line starting by a space indicates a non-wrap
# paragraph
$wrapped_mode = 0;
- } elsif ($markdown and
+ }
+ if ($markdown and
( $line =~ /\S $/ # explicit newline
or $line =~ /"""$/)) { # """ textblock inside macro begin
# Markdown markup needing separation _after_ this line