From 3adf4a836a581383e8a91f3dcd17ea9bca2c1c92 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 16 Oct 2012 22:49:46 -0400 Subject: [PATCH] Added blockquote support to msgfmt --- msgfmt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/msgfmt b/msgfmt index 8647468..63b3c01 100755 --- a/msgfmt +++ b/msgfmt @@ -49,6 +49,10 @@ awk '/^diff --git/ { exit } { print }' \ s/>/\>/g; s/\&/\&/g; + # quoting (initiated by an indented paragraph and terminated by a new + # paragraph) + s#\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 # should always be in the footer as references (ideally), this should not