Simple Python Replace
The key is replacing & at the end\notherwise it messes everything up \n\nclass Solution:\n    def entityParser(self, text: str) -> str:\n        return text \\\
The key is replacing ```&``` at the end\notherwise it messes everything up \n```\nclass Solution:\n    def entityParser(self, text: str) -> str:\n        return text \\\n            .replace(\'&quot;\', \'\\"\')\\\n            .replace(\'&apos;\', "\\\'")\\\n            .replace(\'&gt;\', \'>\')\\\n            .replace(\'&lt;\', \'<\')\\\n            .replace(\'&frasl;\', \'/\')\\\n            .replace(\'&amp;\', \'&\')\n```
[]