From: joshtriplett Date: Tue, 8 May 2007 23:00:59 +0000 (+0000) Subject: Nuke trailing whitespace in shortcut.pm. X-Git-Tag: 2.1~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1c54fef3da56ad9bb94fc7e187a56106a59f8cb;p=ikiwiki.git Nuke trailing whitespace in shortcut.pm. --- 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;