msgfmt will now properly handle adjacent blockquote paragraphs
parent
a570abc87a
commit
ba85af8b52
4
msgfmt
4
msgfmt
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue