summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-01 20:48:57 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-13 00:47:51 +0200
commita0dc8b28a2b6bedec23869352309d03afeadc8d6 (patch)
tree89fa91882ad3a876906bee70d68fdb64381acc64
parent16edeb3df6bbdaa09b190c290b09b89856343581 (diff)
Separate markdown and wrap rules in po4a plugin.
-rw-r--r--Locale/Po4a/Text.pm3
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