summaryrefslogtreecommitdiff
path: root/hack_of_all_hacks
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2013-07-29 08:29:52 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2013-07-29 08:29:52 +0100
commit4a3513f089111b2b538c202b9170d48017c8b4dd (patch)
tree6a49fabb12c53403328aab79f17cc08a2bcba439 /hack_of_all_hacks
parent06d79811c857665c0f50abd6d329532ec9f18f1d (diff)
Suppress excessive numbers of consecutive spaces in url titles.
Diffstat (limited to 'hack_of_all_hacks')
-rw-r--r--hack_of_all_hacks2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks
index d82fbf2..c20d851 100644
--- a/hack_of_all_hacks
+++ b/hack_of_all_hacks
@@ -150,7 +150,7 @@ EOF
do
if [[ ${element} = title ]]
then
- echo "${content}" | replace_wierd_html_chars
+ sed 's/ / /g' <<< "${content}" | replace_wierd_html_chars
fi
done
)