diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:16 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:49:16 +0200 |
commit | 51afefde8433ba2793497e62fc555f093ced4b53 (patch) | |
tree | d996703641b05a666fb96b83e4b9d2c4fbf798e8 | |
parent | 0cc96ab02080a8cc92438ab8b8eaf15db4a82dcb (diff) | |
parent | 5e2c131c9b53963f19229845430d90f6b7a15339 (diff) |
Merge branch '_nb' into nb
-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 |