diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:48:57 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-10-13 00:47:51 +0200 |
commit | a0dc8b28a2b6bedec23869352309d03afeadc8d6 (patch) | |
tree | 89fa91882ad3a876906bee70d68fdb64381acc64 | |
parent | 16edeb3df6bbdaa09b190c290b09b89856343581 (diff) |
Separate markdown and wrap rules in po4a plugin.
-rw-r--r-- | Locale/Po4a/Text.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Locale/Po4a/Text.pm b/Locale/Po4a/Text.pm index 0cc2cc8..3ceeec9 100644 --- a/Locale/Po4a/Text.pm +++ b/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 |