Skip to content

Commit f4109d6

Browse files
committed
Restoring the code from 2af15a6 regarding the Inlines
1 parent 007e0c8 commit f4109d6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Text/Pandoc/Readers/DocBook.hs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1333,9 +1333,7 @@ parseInline (Elem e) = do
13331333
-- <?asciidor-br?> to in handleInstructions, above.
13341334
"pi-asciidoc-br" -> return linebreak
13351335
_ -> skip >> innerInlines id
1336-
return $ case qName (elName e) of
1337-
"emphasis" -> parsedInline
1338-
_ -> addPandocAttributes (getRoleAttr e) parsedInline
1336+
return $ addPandocAttributes (getRoleAttr e) parsedInline
13391337
where skip = do
13401338
let qn = qName $ elName e
13411339
let name = if "pi-" `T.isPrefixOf` qn

0 commit comments

Comments
 (0)