diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-01 20:48:57 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2011-01-30 18:06:43 +0100 |
commit | 10a7fbae3810a3f2ab7dd4d47104d74374552e24 (patch) | |
tree | 1f81a1a49a9ec1a0fdd1a40bdb8d9cd28a83dbcf /Locale | |
parent | 147f633b01781293dba583a0f6d37a2b08fb23f9 (diff) |
Separate markdown and wrap rules in po4a plugin.
Diffstat (limited to 'Locale')
-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 |