]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka/Wiki/Interpreter/Outline.hs
The big change
[Rakka.git] / Rakka / Wiki / Interpreter / Outline.hs
index eb8c9d4db095b3b1d2e8e14edcabf9a65b7c8664..16ed0c5f7999ad52670df7398ca10e41f8a7b647 100644 (file)
@@ -17,7 +17,7 @@ outlineInterp = BlockCommandInterpreter {
                   bciName      = "outline"
                 , bciInterpret
                     = \ ctx _ ->
-                      case ctxMainTree ctx of
+                      case ctxMainWiki ctx of
                         Just tree -> return $ Div [("class", "outline")] [Block $ mkOutline tree]
                         Nothing   -> return EmptyBlock
                 }