aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Writers/RST.hs2
-rw-r--r--test/command/4833.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs
index 4d332b9e1..0321f5b36 100644
--- a/src/Text/Pandoc/Writers/RST.hs
+++ b/src/Text/Pandoc/Writers/RST.hs
@@ -190,7 +190,7 @@ blockToRST :: PandocMonad m
=> Block -- ^ Block element
-> RST m (Doc Text)
blockToRST Null = return empty
-blockToRST (Div ("",["admonition-title"],[]) _) = return empty
+blockToRST (Div ("",["title"],[]) _) = return empty
-- this is generated by the rst reader and can safely be
-- omitted when we're generating rst
blockToRST (Div (ident,classes,_kvs) bs) = do
diff --git a/test/command/4833.md b/test/command/4833.md
index ed6de606b..42001ec74 100644
--- a/test/command/4833.md
+++ b/test/command/4833.md
@@ -1,7 +1,7 @@
```
pandoc -f native -t rst
[Div ("",["warning"],[])
- [Div ("",["admonition-title"],[])
+ [Div ("",["title"],[])
[Para [Str "Warning"]]
,Para [Str "Hi"]]]
^D