[wp-hackers] Problem with default filters
Frank Bueltge
frank at bueltge.de
Wed May 26 18:46:57 UTC 2010
Hello Nicolas,
yes, & is invalid and i have test this with &. I had this not write in
my mail, sorry.
I have also read the source of shortcode_unautop and dosnt find a
shortcode-function for my problem.
I think, this is an problem on the core and this was my opinion for write to
wp-hackers.
Thanks, maybe i will add a own filter.
On Wed, May 26, 2010 at 4:46 PM, Jean-Nicolas Kuttler <
wp-hackers at nicolaskuttler.de> wrote:
> & isn't valid html. I would guess one of the two filters converts it to
> &, or maybe something else. You can certainly convert that back to & in
> your shortcode callback.
>
> I see there's a shortcode_unautop filter which probably means that the
> other content filters don't care if they are inside a shortcode or not.
> Sounds like
>
> shortcode_unwptexturize
> and
> shortcode_unconvert_chars
>
> might be good additions to the standard filters, depending on what
> precisely the filters do.
>
> Nicolas
>
>
> On Wed, May 26, 2010 at 10:46:15AM +0200, Frank Bueltge wrote:
> > Hy,
> >
> > i have a problem with shortcodes in post and pages.
> > The shortcode use strings with & and this will not read, when active the
> > filters wptexturize and convert_chars.
> > When i deactivate the filter, works fine - only when i deactivate the two
> > filters.
> > remove_filter( 'the_content', 'wptexturize' );
> > remove_filter( 'the_content', 'convert_chars' );
> >
> >
> > maybe give it a solution for this or is this a bug in the filters?
> >
> > Thanks for reply or ideas.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
> --
> Nicolas Kuttler
> wp at nkuttler.de
>
> http://www.nkuttler.de
> http://www.nicolaskuttler.de (deutsch)
> _______________________________________________
> 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