aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 84fd404b1..5484ebba9 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -1064,7 +1064,7 @@ inlineToHtml opts inline = do
let imtag = if html5 then H5.img else H.img
let s = case t of
InlineMath -> "\\textstyle "
- DisplayMath -> ""
+ DisplayMath -> "\\displaystyle "
let m = imtag ! A.style "vertical-align:middle"
! A.src (toValue $ url ++ urlEncode (s ++ str))
! A.alt (toValue str)