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 | 756308136deec02123debc94ed9a0ee6731eae64 (patch) | |
tree | 75c6c9f84fa20cbd27b185ccb3fd000d0592075e | |
parent | 406cac7efddfcd3627dea56bc862bbdf51ee3a8d (diff) | |
parent | 6fb5104141b1c9936b847f8d2b25f024560421db (diff) |
Merge branch 'master' into _scs
-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 |