Make sure slashes get converted first so that they don't get added accidentally for other escaped characters