@@ -230,9 +230,9 @@ inlineToHtml opts (Link txt (Ref ref)) =
230230inlineToHtml opts (Image alt (Src source tit)) =
231231 let title = stringToSGML tit
232232 alternate = render $ inlineListToHtml opts alt in
233− selfClosingTag "img" $ [("src", source)] ++
234− (if null tit then [] else [("title", title)]) ++
235− (if null alternate then [] else [("alt", alternate)])
233+ selfClosingTag "img" $ [("src", source)] ++
234+ (if null alternate then [] else [("alt", alternate)]) ++
235+ [("title", title)] -- note: null title is included, as in Markdown.pl
236236inlineToHtml opts (Image alternate (Ref ref)) =
237237 text "![" <> (inlineListToHtml opts alternate) <> text "][" <>
238238 (inlineListToHtml opts ref) <> char ']'