From ba85af8b52fd0b2a7322eaad4ec2ca59edc9b839 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 27 Oct 2012 23:18:45 -0400 Subject: [PATCH] msgfmt will now properly handle adjacent blockquote paragraphs --- msgfmt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msgfmt b/msgfmt index 9e1cea9..3140f57 100755 --- a/msgfmt +++ b/msgfmt @@ -50,8 +50,8 @@ awk '/^diff --git/ { exit } { print }' \ s/>/\>/g; # quoting (initiated by an indented paragraph and terminated by a new - # paragraph) - s#\n\n \+\(\([^\n]\+\n\)\+\)#
\1
#g + # paragraph, unless that paragraph is also indented) + s#\n\n \+\(\([^\n]\+\n\(\n \+\)\?\)\+\)#
\1
#g # unfortunately, non-greedy matches make it difficult to exclude punctuation # at the end of a link, so we will not be handling it here (since links