Encode XML special chars

Sorry, just a small typo from last pull request #59