Converting HTML to Text

Hi,   I'm trying to convert a value I recieve via API from HTML to plain text. I need to post this info to another API that doesn't accept HTML.   Even though there are a number of 'div' and '&nbsp' in the HTML, the action simply removes all the HTML tags and squishs all the text together without a…