tweaked the character escaping to make sure we actually keep all of the characters

resolves http://bugs.web2project.net/view.php?id=1305