Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike@mikegerwitz.com>2013-06-06 14:27:19 -0400
committerMike Gerwitz <mike@mikegerwitz.com>2013-06-06 14:27:23 -0400
commit110e55729378de9ae63b78994ca2de133d252e39 (patch)
treefade64dea8832f8af96f28eae4adee20fa68a4f1
parent0e0414027abbfa20a8b74fbdb0a24a020a6a66fd (diff)
downloadrepo2html-110e55729378de9ae63b78994ca2de133d252e39.tar.gz
repo2html-110e55729378de9ae63b78994ca2de133d252e39.tar.bz2
repo2html-110e55729378de9ae63b78994ca2de133d252e39.zip
Added -P to msgfmt for rss subject line generation
Whoops; <p> tags were being included in RSS titles.
-rwxr-xr-xrss2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss b/rss
index 225c9f1..4ddcfc3 100755
--- a/rss
+++ b/rss
@@ -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"