changeset 2400:3a0f768ee5b4

Use div instead of pre for display math
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Mon, 13 May 2013 09:59:24 +0200
parents 9430e08ac757
children def91dbc545d
files hatta/parser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hatta/parser.py	Sun May 12 23:12:52 2013 +0200
+++ b/hatta/parser.py	Mon May 13 09:59:24 2013 +0200
@@ -389,7 +389,7 @@
                 math_text = self.wiki_math(math_text, True)
             else:
                 math_text = werkzeug.escape(math_text)
-            yield werkzeug.html.pre(
+            yield werkzeug.html.div(
                 math_text,
                 class_="display-math",
                 id="line_%d" % self.line_no,