[wp-hackers] Issues with wpautop and my plugin

Viper007Bond lists at viper007bond.com
Thu Aug 3 11:57:09 GMT 2006


I'm adding HTML into a post via a filter.

Let's say my code is structured like this:

<this><is><some><html>

The problem is that wpautop is doing basically this:

<p><this><br />
<is><br />
<some><html>
</p>

How can I stop those line breaks from being added? Should I like use 
some regex to get rid of them?

I can provide the actual (but ugly) code if need be.


More information about the wp-hackers mailing list