fix mathjax links for HTML conversion