diff --git a/.gitattributes b/.gitattributes
index a1f351b..d5686d7 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,5 @@
docs/ export-ignore
resources/
!resources/*.base64
-test_imports.py export-ignore
\ No newline at end of file
+test_imports.py export-ignore
+MarkdownLivePreview.sublime-package export-ignore
\ No newline at end of file
diff --git a/markdown2html.py b/markdown2html.py
index c6f199a..0e89f42 100644
--- a/markdown2html.py
+++ b/markdown2html.py
@@ -86,7 +86,7 @@ def markdown2html(markdown, basepath, re_render, resources, viewport_width, font
# FIXME: report that ST doesn't support
but does work with
... WTF?
# Add font scaling CSS rule
- font_scale_css = "body {{ font-size: {}em; }}\n".format(font_scale)
+ font_scale_css = "html {{ font-size: {}em; }}\n".format(font_scale)
stylesheet = font_scale_css + resources["stylesheet"]
return "\n\n{}".format(stylesheet, soup).replace(