@@ -188,19 +188,29 @@ tests =
188188 "=is_subst = True=" =?>
189189 para (code "is_subst = True")
190190
191− , "Image" =:
192− "[[./sunset.jpg]]" =?>
193− (para $ image "./sunset.jpg" "" "")
194−
195− , "Image with explicit file: prefix" =:
196− "[[file:sunrise.jpg]]" =?>
197− (para $ image "sunrise.jpg" "" "")
191+ , testGroup "Images"
192+ [ "Image" =:
193+ "[[./sunset.jpg]]" =?>
194+ (para $ image "./sunset.jpg" "" "")
195+
196+ , "Image with explicit file: prefix" =:
197+ "[[file:sunrise.jpg]]" =?>
198+ (para $ image "sunrise.jpg" "" "")
199+
200+ , "Multiple images within a paragraph" =:
201+ unlines [ "[[file:sunrise.jpg]]"
202+ , "[[file:sunset.jpg]]"
203+ ] =?>
204+ (para $ (image "sunrise.jpg" "" "")
205+ <> softbreak
206+ <> (image "sunset.jpg" "" ""))
198207
199− , "Image with html attributes" =:
200− unlines [ "#+ATTR_HTML: :width 50%"
201− , "[[file:guinea-pig.gif]]"
202− ] =?>
203− (para $ imageWith ("", [], [("width", "50%")]) "guinea-pig.gif" "" "")
208+ , "Image with html attributes" =:
209+ unlines [ "#+ATTR_HTML: :width 50%"
210+ , "[[file:guinea-pig.gif]]"
211+ ] =?>
212+ (para $ imageWith ("", [], [("width", "50%")]) "guinea-pig.gif" "" "")
213+ ]
204214
205215 , "Explicit link" =:
206216 "[[http://zeitlens.com/][pseudo-random /nonsense/]]" =?>