maths / moodle-qtype_stack

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

Replace $ and $$ isn't working #94

Closed jhoopes closed 10 years ago

jhoopes commented 10 years ago

Hi,

I'm using 2014011500 stack question type and the option to replace $ and $$ isn't working. When I have the option selected in creating a new question type, and have $$ x^2 $$ as an example LaTeX text, I get the form error:

Please use the delimiters (...) for inline maths and [...] for display maths. $...$ and $$...$$ are not permitted. There is an option at the end of the form to fix this automatically.

Even though I have the option selected at the end of the form.

sangwinc commented 10 years ago

Sorry about that! Thanks very much for pointing this out. No use having useful features which don't work...

https://github.com/maths/moodle-qtype_stack/commit/71d7c009bc38012355232945d4ecc6d73be497e5