Hello,
I am trying to parse a plain text documents with a mixture of html tags and custom text inside angular braces (<>). I want to remove only the html tags and skip removing of the custom text tags. Can you help me with how to do it?
For an example, this is the text im trying to parse
Input: "Should be <i>the</i> <answer> here"
CurrentOutput: Should be the here
ExpectedOutput: Should be the <answer> here or Should be the answer here.
The sample code I tried,
```
def html_to_text(html):
parser = BeautifulSoup(html, 'html.parser')
diagnose(html)
return parser.get_text()
```
Thanks,
Srilalitha S