From: martin f. krafft Date: Sat, 22 May 2010 10:37:50 +0000 (+0200) Subject: no need for html escapes X-Git-Url: https://git.madduck.net/code/fbi-announce.git/commitdiff_plain/bcc4f182d926015692c586fd15567540d933938f?ds=sidebyside;hp=c853b83790da6402b7a6f4b954b9503c23dfef7e no need for html escapes --- diff --git a/fbi-announce.sh b/fbi-announce.sh index b845bd8..810d8f6 100755 --- a/fbi-announce.sh +++ b/fbi-announce.sh @@ -71,7 +71,7 @@ url=$(echo "$url" | sed -e "s,@@sha1@@,${merged},") rawcommit=$(git cat-file commit ${merged}) author=$(echo "${rawcommit}" | sed -rne 's,^author (.+) <.*,\1,p') -logmessage=$(echo "${rawcommit}" | sed -e '1,/^$/d;s,&,\&,g;s,<,\<,g;s,>,\>,g') +logmessage=$(echo "${rawcommit}" | sed -e '1,/^$/d') ${noisy} || logmessage=$(echo "${logmessage}" | head -n2) ts=$(echo "${rawcommit}" | sed -n -e '/^author .*> \([0-9]\+\).*$/s--\1-p')