From 6fb5104141b1c9936b847f8d2b25f024560421db Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard 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 '>index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/80/f7/CADo9pHjHjPAW9Lc-QJ2tJK+3AvJ8Askx34pNCkg95AR9AeK+fw@mail.gmail.com/unread
diff options
context:
space:
mode:
Diffstat (limited to 'tags/80/f7/CADo9pHjHjPAW9Lc-QJ2tJK+3AvJ8Askx34pNCkg95AR9AeK+fw@mail.gmail.com/unread')
-rw-r--r--tags/80/f7/CADo9pHjHjPAW9Lc-QJ2tJK+3AvJ8Askx34pNCkg95AR9AeK+fw@mail.gmail.com/unread0
1 files changed, 0 insertions, 0 deletions