1
0
Fork 0

msgfmt will now properly handle adjacent blockquote paragraphs

master
Mike Gerwitz 2012-10-27 23:18:45 -04:00
parent a570abc87a
commit ba85af8b52
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 2 additions and 2 deletions

4
msgfmt
View File

@ -50,8 +50,8 @@ awk '/^diff --git/ { exit } { print }' \
s/>/\>/g; s/>/\>/g;
# quoting (initiated by an indented paragraph and terminated by a new # quoting (initiated by an indented paragraph and terminated by a new
# paragraph) # paragraph, unless that paragraph is also indented)
s#\n\n \+\(\([^\n]\+\n\)\+\)#<blockquote>\1</blockquote>#g s#\n\n \+\(\([^\n]\+\n\(\n \+\)\?\)\+\)#<blockquote>\1</blockquote>#g
# unfortunately, non-greedy matches make it difficult to exclude punctuation # 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 # at the end of a link, so we will not be handling it here (since links