Fix thinko.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33829 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-03-21 21:05:14 +00:00
parent fdeecd380b
commit 6b8532784b

View File

@ -1213,10 +1213,10 @@ def convert_math_output(document):
rgx = re.compile(r'\\html_use_mathml\s+(\w+)')
m = rgx.match(document.header[i])
if rgx:
newval = "MathML"
newval = "0" # MathML
val = m.group(1)
if val != "true":
newval = "Images"
newval = "2" # Images
document.header[i] = "\\html_math_output " + newval