parser: remove disallowed tags