]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka/Wiki/Parser.hs
Implemented inline images and framed images
[Rakka.git] / Rakka / Wiki / Parser.hs
index 313521c23cf89971862f4091657d9ef22bef5348..0433612ba5746bcd98312f5993b6847831336717 100644 (file)
@@ -249,10 +249,12 @@ blockCmd cmdTypeOf
       "block command"
     where
       contents :: Parser [BlockElement]
-      contents = do x  <- try $ blockElement cmdTypeOf
+      contents = do x  <- blockElement cmdTypeOf
                     xs <- contents
                     return (x:xs)
                  <|>
+                 (newline >> contents)
+                 <|>
                  (comment >> contents)
                  <|>
                  return []