]> ruin.nu Git - yawbih.git/commitdiff
Stripping \ from the keyword
authorMichael Andreen <harv@ruin.nu>
Sat, 11 Dec 2004 16:17:07 +0000 (16:17 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 26 Jan 2008 11:33:16 +0000 (12:33 +0100)
Main.hs

diff --git a/Main.hs b/Main.hs
index 7e96e65396299c5e75180e240256b2a6acc432ba..c8d5524c32af97a80f24876fc408de25e029f950 100644 (file)
--- a/Main.hs
+++ b/Main.hs
@@ -15,7 +15,7 @@ testDB = createPGB "wave" "wiki" "wiki" "12wiki34db"
 
 main = do 
        db <- testDB
-       runWithHook [] (\(key:act) -> showPage db key) $ showPage db "MainPage"
+       runWithHook [] (\(key:act) -> showPage db (filter (/= '\\') key)) $ showPage db "MainPage"
 
 ps a = standardQuery "Hello" a