From 6fb5104141b1c9936b847f8d2b25f024560421db Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Wed, 1 Oct 2008 20:48:57 +0200
Subject: Separate markdown and wrap rules in po4a plugin.

---
 perl/Locale/Po4a/Text.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'perl')

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
-- 
cgit v1.2.3