Added blockquote support to msgfmt
parent
ff237bbc6f
commit
3adf4a836a
4
msgfmt
4
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\)\+\)#<blockquote>\1</blockquote>#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
|
||||
|
|
Loading…
Reference in New Issue