Receives a text with some HTML markup and removes from it So, the result text will form a single text line or paragraph when interpreted as HTML.

For example, the call

flattenHTMLText ("one<p>two<br><br> three")
will return the string
"one two three"
Notes:
  • When a removed HTML tag also served as a separator of two non-space character sequences, it will be replaced with a space.
  • This function is currently rarely used because its functionality has been replaced with a similar formatting property specified on template components: Text Flow | Embedded HTML | Flatten