I noticed equations with "<"'s weren't displaying correctly in HTML export using mathjax. The attached patch fixes this by html-encoding latex fragments for mathjax HTML export. I imagine this change would be generally useful and could be applied to master. Best, Eric