aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-11-28 10:38:11 +0100
committerJohn MacFarlane <[email protected]>2025-11-28 10:38:11 +0100
commitc8e4d4d55aa8e60b3b71e9e8cfa6b1640e5e626f (patch)
treef91c8c1884aadd170ed61150bc3d3d8ba305fbd9
parent6c74d926bbced7e6a1da013e17a3625ad1ead9bb (diff)
Avoid double attribute on code block.
-rw-r--r--src/Text/Pandoc/Readers/AsciiDoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/AsciiDoc.hs b/src/Text/Pandoc/Readers/AsciiDoc.hs
index 580fa4246..608160f97 100644
--- a/src/Text/Pandoc/Readers/AsciiDoc.hs
+++ b/src/Text/Pandoc/Readers/AsciiDoc.hs
@@ -222,7 +222,7 @@ doBlock (A.Block attr@(A.Attr ps kvs) mbtitle bt) = do
pure $ B.codeBlockWith ("", classes, []) code
A.IncludeListing _ _ Nothing -> pure mempty
A.IncludeListing mblang _fp (Just lns) ->
- doBlock (A.Block attr mbtitle (A.Listing mblang lns))
+ doBlock (A.Block mempty mbtitle (A.Listing mblang lns))
A.ExampleBlock bs -> B.divWith ("",["example"],[]) <$> doBlocks bs
A.Sidebar bs -> B.divWith ("",["sidebar"],[]) <$> doBlocks bs
A.OpenBlock bs -> B.divWith ("",[],[]) <$> doBlocks bs