Opened 18 years ago
Closed 17 years ago
#7036 closed defect (bug) (wontfix)
Bad side effect of automatically changing <br /><br />
| Reported by: | agro1986 | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | wpautop |
| Cc: | Focuses: |
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 (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.