Fixed bad ordering for escaping special TXT characters