summaryrefslogtreecommitdiff
path: root/Locale/Po4a
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-01 20:48:57 +0200
committerJonas Smedegaard <dr@jones.dk>2011-01-30 18:06:43 +0100
commit10a7fbae3810a3f2ab7dd4d47104d74374552e24 (patch)
tree1f81a1a49a9ec1a0fdd1a40bdb8d9cd28a83dbcf /Locale/Po4a
parent147f633b01781293dba583a0f6d37a2b08fb23f9 (diff)
Separate markdown and wrap rules in po4a plugin.
Diffstat (limited to 'Locale/Po4a')
-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