Hi there,

how to get rid of this extra, unwanted p around figure coming from built-in Enhaned Image plugin?

Now we have:

<p>
<figure class="image"><img src="image.jpg"><br>
<figcaption></figcaption><br>
</figure>
</p>

What in browser (Opera) looks like:

<p></p>
<figure class="image"><img src="image.jpg"><br>
<figcaption></figcaption><br>
</figure>
<p></p>

... what makes counting paragraphes false, as it adds an extra ones.

Any config in Drupal, config in CKE, a module?

Thanks.

Szy.

Comments

szy created an issue. See original summary.

szy’s picture

Issue summary: View changes
szy’s picture

Issue summary: View changes
szy’s picture

Ok, I just have turned off breaking lines after <br> and <p> by Drupal core.

Szy.

szy’s picture

Status: Active » Closed (works as designed)