1
0
Fork 0

Added -P to msgfmt for rss subject line generation

Whoops; <p> tags were being included in RSS titles.
master
Mike Gerwitz 2013-06-06 14:27:19 -04:00
parent 0e0414027a
commit 110e557293
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 1 deletions

2
rss
View File

@ -54,7 +54,7 @@ while read hash commit ts id subject; do
# the title)
cat <<EOE
<item>
<title><![CDATA[$( "$msgfmt" -n < <( echo "$subject"; echo ) )]]></title>
<title><![CDATA[$( "$msgfmt" -nP < <( echo "$subject"; echo ) )]]></title>
<link>$(
printf "%s/%s/%s.html" \
"${url/%\/}" "$( ./tsdate "$ts" %Y/%m )" "$id"