Add tests for escaping in tags