Missing a stripslashes() so TeX functions didn't work