Can I pull XHTML-formatted weblog entry fields into a template as plain text? I want no HTML, no entities, etc.
For example, let’s say I allow XHMTL formatting of the {title} field, and now I want to use it in the page header in the <title> </title> tag. How do I strip out all HTML and entities? I don’t want to disable XHMTL formatting in the underlying filed, just in this particular display of its contents.
The HTML_Stripper plugin gets me halfway there--it removes HTML and, optionally, both < and > characters, but I’m still stuck with ampersands, non-breaking spaces, etc. The Find and Replace plugin could do it, too, if I felt like listing every possible HTML tag and entity in every usage of the plugin, but I’d rather not be updating my templates every time a user discovers a new tag or entity.
