From 53b188ed35d24933b6440e4c3032ede829eba0ee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 3 Jun 2008 23:59:25 -0400 Subject: add a colon to disambiguate The omega docs suggest doing this if the term may contain upper case, which it could here. --- IkiWiki/Plugin/search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3