allow <code class=...>, temporary MathJax fix, try to fix pre-filled inputs bug