Q. I’m using oik-css v0.7 and most of the time my content is not scrunched up.
But when I use the bw_pages shortcode with the
format=C parameter Automatic paragraph generation is not working properly.
A. Ditto! It’s a bug.
Answer: It’s a bug
We’ve just been investigating this problem ourselves.
Creating the problem
To reproduce the problem we’ve created a simple test using
[bw_pages id=15562 post_type=shortcode_example format=C]
where the content of the post to be embedded also contains a shortcode. e.g.
This is a plain post with the shortcode for WordPress before the more ( [wp] ), and nothing after.<!--more-->
So here we use the [bw_pages] shortcode.
With some automatic paragraphs before and after the shortcode.
And some hr’s to delineate the output of the shortcode.
format=E it’s fine. But when using
format=C the content gets scrunched.
It’s complicated. Basically, wpautop() is having a hard time trying to work out what to do. That’s not the full answer. But it’s good enough for now.
hover to slideToggle source