diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:14 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:14 +0200 |
commit | c219ab373a4ada5f278a226a1e1991f736bf2f6f (patch) | |
tree | c3ae739f341d97443f41927308ee8ca4bb62dcf1 /perl | |
parent | 41a450af8bbe3b9e7238097791db0ab7fa0c15fd (diff) | |
parent | 6fb5104141b1c9936b847f8d2b25f024560421db (diff) |
Merge branch 'master' into allinone-da
Diffstat (limited to 'perl')
-rw-r--r-- | perl/Locale/Po4a/Text.pm | 3 |
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 |