plaintext filter

This filter was designed to simplify the stripping out of all (x)html in a given template var, while preserving some meta information from anchor, and image tags.

Why is this even useful? If you have pre-assembled portions of templates, or model fields containing html, that you want to use to populate a search index like django-haystack you can safely discard all the markup, while keeping the text that should be still searchable. Alt text, and title attributes are worth keeping!