diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/auto-changelog | 9 |
1 files changed, 8 insertions, 1 deletions
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/>/\>/g' -e 's/^ \S/ &/' + sed ' +/^\S/ { + s/&/\&/g + s/</\</g + s/>/\>/g +} +s/^ \S/ &/ +' } insert() { |