This function renders HTML content into plain text by removing all HTML tags.


htmlToTxt(text) #Output: Text



Parser expressionDescription


htmlToTxt("<p>Hello <b>world</b>!</p>")


This example returns:

Hello world!


htmlToTxt("<ul><li>Item 1</li><li>Item 2</li></ul>")


This example returns:

  • Item 1
  • Item 2



Parameters used in this function

ParameterInput (data type)Description
text

Any given text. Might contain HTML.



This function returns a



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

The function replace can be use to replace every HTML tag into an empty string.

issue.description.plainText.replace("<([^>]+)>", "")







Status
Tech review

Style guide




Short description
Removes allĀ HTML tags.
Output

Available since

Label