Was using wrong parser to sanitize