diff --git a/msgfmt b/msgfmt index 8579a0c..be734f0 100755 --- a/msgfmt +++ b/msgfmt @@ -98,6 +98,9 @@ awk -vid="$id" -vurl_root="${url_root%/}" -vcref_errlog="$cref_errlog" ' # paragraph, unless that paragraph is also indented) s#\n\n \+\(\([^\n]\+\n\(\n \+\)\?\)\+\)#
\1
#g + # pre-formatted block. markdown-style + 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 handle it in a separate expression s#[fh]ttps\?://[^]\n )]\+#&#g;