Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#24191 closed defect (bug) (duplicate)

Open Tags before <!--nextpage--> impacts entire webpage

Reported by: crushgear Owned by:
Priority: normal Milestone:
Component: Formatting Version: 2.5
Severity: minor Keywords:
Cc: Focuses:

Description

If a chunk of your post is formatted (like strong or em) and you insert the <!--nextpage--> tag after an open formatting tag, it will actually format the rest of your entire page (comments, sidebar, etc.) with the tag.

I was able to replicate this bug on trunk in both Chrome and Firefox.

Here's an example of content that would trigger this bug:

<strong>Testing the nextpage bug <em>

<!--nextpage-->

tag bug. </strong></em>

Change History (3)

#1 @johnbillion
13 years ago

Sounds like we need to run force_balance_tags() on the content that comes before <!--nextpage--> when it's displayed on its own.

#2 @SergeyBiryukov
13 years ago

  • Component TinyMCEFormatting
  • Milestone Awaiting Review
  • Status newclosed
  • Version trunk2.5

Duplicate of #6297.

#3 @SergeyBiryukov
13 years ago

  • Resolutionduplicate
Note: See TracTickets for help on using tickets.