@@ -179,6 +179,7 @@ blockElements = choice [ comment
179179 , centerTag
180180 , rightTag
181181 , quoteTag
182+ , divTag
182183 , verseTag
183184 , lineBlock
184185 , bulletList
@@ -245,6 +246,12 @@ rightTag = blockTag id "right"
245246quoteTag :: PandocMonad m => MuseParser m (F Blocks)
246247quoteTag = withQuoteContext InDoubleQuote $ blockTag B.blockQuote "quote"
247248
249+-- <div> tag is supported by Emacs Muse, but not Amusewiki 2.025
250+divTag :: PandocMonad m => MuseParser m (F Blocks)
251+divTag = do
252+ (attrs, content) <- parseHtmlContentWithAttrs "div" block
253+ return $ (B.divWith attrs) <$> mconcat content
254+
248255verseLine :: PandocMonad m => MuseParser m String
249256verseLine = do
250257 line <- anyLine <|> many1Till anyChar eof