aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Org/Block/Figure.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Block/Figure.hs b/test/Tests/Readers/Org/Block/Figure.hs
index 2d78bbe9e..d283f71d5 100644
--- a/test/Tests/Readers/Org/Block/Figure.hs
+++ b/test/Tests/Readers/Org/Block/Figure.hs
@@ -54,6 +54,13 @@ tests =
caption = "mah brain just explodid"
in para (imageWith (mempty, mempty, kv) "lambdacat.jpg" name caption)
+ , "LaTeX attributes are ignored" =:
+ T.unlines [ "#+CAPTION: Attribute after caption"
+ , "#+ATTR_LATEX: :float nil"
+ , "[[file:test.png]]"
+ ] =?>
+ para (image "test.png" "fig:" "Attribute after caption")
+
, "Labelled figure" =:
T.unlines [ "#+CAPTION: My figure"
, "#+LABEL: fig:myfig"