[wp-hackers] Introduce some type of no-parse tag ?

Viper007Bond viper at viper007bond.com
Sun Sep 2 03:01:28 GMT 2007

It'd be nice if we could wrap some tags (HTML comments perhaps?) around a
string of text in order to avoid having it be parsed by wpautop(),
wptexturize(), etc.

Yes, a plugin could probably pull this off, but it'd be so much easier if it
was in the core (no having to replicate functions, etc.)

Tons of plugins rely on placeholders in posts/pages in order to insert their
own HTML into posts (for example, a contact form). The problem with this is
if the plugin's filter runs at 11+, the placeholder could get malformed. If
it runs 9-, it's output HTML is to likely get malformed.

Not to mention all of the people that would like to post HTML directly into
a post.

Oh! Perhaps instead of no parse tags, there was a filterable array which
listed strings and/or regex to not match. I dunno, just throwing ideas on
the table for a future version.

Anyone else have any ideas or thoughts on this subject?

Viper007Bond | http://www.viper007bond.com/

More information about the wp-hackers mailing list