[wp-hackers] trimming oembed results

Chris McCoy chris at lod.com
Wed Jul 25 20:44:33 UTC 2012


Might be it, cause the shortcode itself doesn't show any <br/>, ill try and
disable the other libraries

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Rich Pedley
Sent: Wednesday, July 25, 2012 4:43 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] trimming oembed results

On 25/07/2012 18:56, Otto wrote:
> What's your code look like? oembed doesn't add P's and such, but 
> wpautop might be adding it later.
>
> -Otto
>
>
> On Wed, Jul 25, 2012 at 12:53 PM, Chris McCoy <chris at lod.com> wrote:
>> Ive created a handler for an oembed, but it seems its adding <p> and 
>> <br/>'s anyway to trim this before sending to the apply_filters?

I have come across a few issues with this recently - tracked it down to it
being from a plugin/theme implementing a different version of jQuery.

Rich

_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list