summaryrefslogtreecommitdiff
path: root/perl/Locale
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-01 20:48:57 +0200
committerJonas Smedegaard <dr@jones.dk>2008-10-01 20:48:57 +0200
commit6fb5104141b1c9936b847f8d2b25f024560421db (patch)
tree75c6c9f84fa20cbd27b185ccb3fd000d0592075e /perl/Locale
parentf2ddf72b26f2f6d318f41264573787f505339b8e (diff)
Separate markdown and wrap rules in po4a plugin.
Diffstat (limited to 'perl/Locale')
-rw-r--r--perl/Locale/Po4a/Text.pm3
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