diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:11 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:11 +0200 |
commit | 3cac5e87019781b0c9a89e342ee3139a32452639 (patch) | |
tree | 530a4481cd7fdcc181e24a6de8dd7ceac1e2c9e5 | |
parent | 366929d83dc8b9a6620d49c4a8b96c16cf2de8a0 (diff) | |
parent | 6fb5104141b1c9936b847f8d2b25f024560421db (diff) |
Merge branch 'master' into wian
-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 |