From e1c54fef3da56ad9bb94fc7e187a56106a59f8cb Mon Sep 17 00:00:00 2001 From: joshtriplett Date: Tue, 8 May 2007 23:00:59 +0000 Subject: [PATCH] Nuke trailing whitespace in shortcut.pm. --- IkiWiki/Plugin/shortcut.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2