diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 2a47f20356..7002a9b01e 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -2121,7 +2121,7 @@ void InsetMathHull::mathAsLatex(WriteStream & os) const docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const { BufferParams::MathOutput const mathtype = - buffer().params().html_math_output; + buffer().masterBuffer()->params().html_math_output; bool success = false;