Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mikegerwitz@gnu.org>2014-11-30 16:32:22 -0500
committerMike Gerwitz <mikegerwitz@gnu.org>2014-11-30 16:32:42 -0500
commita485238ca0cb1c60c4eb5c82003985acb870bd70 (patch)
treeacac1866902f29079ecb40e58715c2e7bf0d3fbe
parent61804d8e1d7cd4c26d1b7ec94d7311418de6a1b5 (diff)
downloadrepo2html-a485238ca0cb1c60c4eb5c82003985acb870bd70.tar.gz
repo2html-a485238ca0cb1c60c4eb5c82003985acb870bd70.tar.bz2
repo2html-a485238ca0cb1c60c4eb5c82003985acb870bd70.zip
msgfmt bold regex correction
This also has existed for a long time; had forgotten to commit
-rwxr-xr-xmsgfmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgfmt b/msgfmt
index be734f0..2e1e430 100755
--- a/msgfmt
+++ b/msgfmt
@@ -124,6 +124,6 @@ awk -vid="$id" -vurl_root="${url_root%/}" -vcref_errlog="$cref_errlog" '
s/---/'"$mdash"'/g;
s#``#'"$lquo"'#g;
s#'\'\''#'"$rquo"'#g;
- s#\(\W\)\*\*\([^\*]\+\)\*\*\(\W\)#\1<strong>\2</strong>\3#g;
+ s#\(\W\|^\)\*\*\([^\*]\+\)\*\*\(\W\)#\1<strong>\2</strong>\3#g;
s#\(\W\)\*\([^\*]\+\)\*\(\W\)#\1<em>\2</em>\3#g;
'