Make WordPress Core

Opened 22 years ago

Closed 21 years ago

#94 closed defect (bug) (wontfix)

Using blockquote in a post breaks the nesting order of the p tag

Reported by: anonymousbugger's profile anonymousbugger Owned by: matt's profile matt
Milestone: Priority: normal
Severity: minor Version: 1.2
Component: General Keywords:
Focuses: Cc:

Description

Posting just a blockquote with a trailing author screws up the nesting order of the wrapping p tag.

Posting just a blockquote with nothing else puts the p tag on the inside of the blockquote.

Change History (3)

#2 @tor
21 years ago

Reproduced this today accidently in 1.2.1

To clarify since it looks like white space and p tags were eaten by mosquito...

Posting something to the effect of

"lorem ipsum [blockquote]fooboomooshooblockquote

is the best"

should yield

"lorem ipsump[blockquote]fooboomooshooblockquote
[p]is the bestp"

OR

"lorem ipsum[blockquote]fooboomooshooblockquotep
[p]is the bestp"

Instead this gets rendered which is invalid for nesting reasons. Also, the br tag shouldn't be inserted.

"[p]lorem ipsum[br /]
[blockquote]fmoobommoopblockquote

[p]s the best

p"

#3 @matt
21 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 50
  • Status changed from new to closed

Put blockquotes on their own lines, space everything out.

Note: See TracTickets for help on using tickets.