Updated typogrify ignore logic, and using 'math' for class to wrap mathjax