It fiters plain text from plain text + html content, the input has the shape:
"plain text <div><p>html content</p></div>"
It keeps only the plain text at the beginning.