Fixed missing character escaping