Turned off the ability to pass through HTML to avoid issues with HtmLawed sanitiser (via the no_markup option) and fixed the use of that option in the iTeX parts as I'd misunderstood its use.
Added a 'Format' function to replace the HtmLawed plugin and disabled HtmLawed since it only allows HTML and not MathML.