From: Joey Hess Date: Wed, 4 Jun 2008 03:59:25 +0000 (-0400) Subject: add a colon to disambiguate X-Git-Tag: 2.49~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53b188ed35d24933b6440e4c3032ede829eba0ee;p=ikiwiki.git add a colon to disambiguate The omega docs suggest doing this if the term may contain upper case, which it could here. --- diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 0218987d0..e12c9bca4 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -149,7 +149,7 @@ sub pageterm ($) { #{{{ # TODO: check if > 255 char page names overflow term # length; use sha1 if so? - return "U".$page; + return "U:".$page; } #}}} my $db;