summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-20 21:23:21 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-20 21:23:21 (EDT)
commit296f9b33121a2927497c8a28ae55a950bfd057d5 (patch)
tree4ef94f400a14669bb7cfde2aecee431665939442
parent630df6fed976aab6f38c9ac46a0a97372b3280b7 (diff)
feed_para_cb(): Add "XXX" comment about trimming
-rw-r--r--lib/feed.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/feed.sh b/lib/feed.sh
index 21f0f77..6dcf4c1 100644
--- a/lib/feed.sh
+++ b/lib/feed.sh
@@ -103,6 +103,7 @@ feed_para_cb()
dep="${dep%%(*}"
dep="${dep%%|*}"
# Trim whitespace.
+ # XXX: This doesn't actually trim multiple spaces.
dep="${dep##[ ${HT}${LF}]}"
dep="${dep%%[ ${HT}${LF}]}"
new_deps="${new_deps} ${dep}"