@@ -567,7 +567,8 @@ inlineToHtml opts inline =
567567 InlineMath -> thespan ! [theclass "math"] $ m
568568 DisplayMath -> thediv ! [theclass "math"] $ m
569569 WebTeX url -> do
570− let m = image ! [src (url ++ urlEncode str),
570+ let m = image ! [thestyle "vertical-align:middle",
571+ src (url ++ urlEncode str),
571572 alt str, title str]
572573 return $ case t of
573574 InlineMath -> m