diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:15 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:15 +0200 |
commit | 553bbc8ff83369b92962351cf06359ea9c9d109c (patch) | |
tree | 4731577040e47155a9c001361905e074584b97c2 | |
parent | 060619ac205ecabcb5b6309f729bc8c8d6c65b0c (diff) | |
parent | e71f097ace69aa40cd83ad9fb31db7b82272baac (diff) |
Merge branch '_clean' into clean
-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 |