This function renders HTML content into plain text by removing all HTML tags.
htmlToTxt(text) #Output: Text
htmlToTxt("<p>Hello <b>world</b>!</p>")
This example returns:
Hello world!
htmlToTxt("<ul><li>Item 1</li><li>Item 2</li></ul>")
Parameters used in this function
text
This function returns a
The function replace can be use to replace every HTML tag into an empty string.
issue.description.plainText.replace("<([^>]+)>", "")