Ticket #7036 (new defect)

Opened 6 months ago

Last modified 1 month ago

Bad side effect of automatically changing <br /><br />

Reported by: agro1986 Assigned to: anonymous
Priority: low Milestone: 2.9
Component: General Version:
Severity: normal Keywords: wpautop
Cc:

Description

Wordpress 2.5.1 changes this code:

<p class="secret">a<br /><br />b</p>

into:

<p class="secret">a</p><p>b</p>

Obviously this ruins layouting with CSS, for example if I want .secret to have a red background on a red text.

Change History

06/02/08 19:39:11 changed by tonyf12

I can't imagine anything can be done about that as the second behavior is more suitable in most cases (I'd guess ~70%). Maybe they should implement some <noparse> ability similar to wiki's <nowiki> tag.

08/26/08 22:26:04 changed by caesarsgrunt

  • priority changed from high to low.

-1. This is expected behaviour in maybe 95% of cases.
Yes, [noparse].../noparse would be good, but it's not high priority.

10/14/08 01:21:12 changed by matt

  • keywords set to wpautop.
  • milestone changed from 2.7 to 2.9.