aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-08 23:00:59 +0000
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-08 23:00:59 +0000
commite1c54fef3da56ad9bb94fc7e187a56106a59f8cb (patch)
tree223434d6b21cec8b498d756c0886914d6d57f754 /IkiWiki
parent0978f32cc8eb7de7ad484a035a0937a8ea79ab1a (diff)
downloadikiwiki-e1c54fef3da56ad9bb94fc7e187a56106a59f8cb.tar
ikiwiki-e1c54fef3da56ad9bb94fc7e187a56106a59f8cb.tar.gz
Nuke trailing whitespace in shortcut.pm.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/shortcut.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm
index 28d0c7177..ca527ce3c 100644
--- a/IkiWiki/Plugin/shortcut.pm
+++ b/IkiWiki/Plugin/shortcut.pm
@@ -53,7 +53,7 @@ sub shortcut_expand ($$@) { #{{{
my $text=join(" ", @params);
my $encoded_text=$text;
$encoded_text=~s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
-
+
$text=~s/_/ /g;
if (defined $desc) {
$desc=~s/\%s/$text/g;