maths / moodle-qtype_stack

Stack question type for Moodle
GNU General Public License v3.0
142 stars 149 forks source link

Latex problem in STACK 4.7 #1258

Closed Mat-Ge closed 2 months ago

Mat-Ge commented 2 months ago

If an HTML heading (<hX>) follows a STACK block (e.g. [[if]] or [[lang]]), Latex no longer works in STACK 4.7 grafik CASText of this example in plain text:


[[ if test='a=1' ]]
a is {@a@}
<br> [[/ if]]
<h4>Headline</h4>
 a is {@a@}
sangwinc commented 2 months ago

That's very odd, and I can't reproduce it on two of my machines. Can you "inspect" the page? Mathjax normally gives up working when there is an error on the page. That error message might be very useful.

Mat-Ge commented 2 months ago

The reason for the underlying problem has been found. The issue listed produces the same error, but turns out to be local and independent of the actual problem.

sangwinc commented 2 months ago

Thanks for confirming. Always happy to help.