summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-03 23:59:25 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-03 23:59:25 -0400
commit53b188ed35d24933b6440e4c3032ede829eba0ee (patch)
tree78acf92c39fa9ed16468f3d5e5146e425f1f2f05
parent9c717d087340fa2c9db1e02fbc07ba0ef05775de (diff)
add a colon to disambiguate
The omega docs suggest doing this if the term may contain upper case, which it could here.
-rw-r--r--IkiWiki/Plugin/search.pm2
1 files changed, 1 insertions, 1 deletions
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;