@@ -130,6 +130,9 @@ tests = [ testGroup "basic"
130130 , "Image width relative to textsize" =:
131131 "\\includegraphics[width=0.6\\textwidth]{foo.png}" =?>
132132 para (imageWith ("", [], [("width", "60%")]) "foo.png" "" "image")
133+ , "Image with options with spaces" =:
134+ "\\includegraphics[width=12cm, height = 5cm]{foo.png}" =?>
135+ para (imageWith ("", [], [("width", "12cm"), ("height", "5cm")]) "foo.png" "" "image")
133136 ]
134137
135138 , let hex = ['0'..'9']++['a'..'f'] in