From c2883d8e6d3d4f85980e4e17390db917205fd039 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 23 Dec 2017 00:18:59 -0500 Subject: fix double-escaped HTML in changelog --- bin/auto-changelog | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/auto-changelog b/bin/auto-changelog index 64d15e9..d672b5f 100755 --- a/bin/auto-changelog +++ b/bin/auto-changelog @@ -18,7 +18,14 @@ generate-entry() { } html_escape() { - sed -e 's/&/\&/g' -e 's//\>/g' -e 's/^ \S/ &/' + sed ' +/^\S/ { + s/&/\&/g + s//\>/g +} +s/^ \S/ &/ +' } insert() { -- cgit v1.2.3-54-g00ecf