WordPress.org

Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#1077 closed defect (bug) (invalid)

CDATA chunk stripped

Reported by: matt Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Template Keywords:
Focuses: Cc:

Description

In the_content we strip ending CDATA strings, why? If no reason then we need to take it out.

Change History (3)

#1 @matt
15 years ago

  • Patch set to No

#2 @ringmaster
15 years ago

This was done to prevent the_content() from breaking feeds' <content:encoded> contents. If the content itself contains "]]>" then it would close the CDATA section of the feed prematurely.

See revision 1.14 of template-functions-post.php, labeled "fixed multiple breakage possibilities with feeds".

#3 @markjaquith
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

closed following ringmaster's explanation

Note: See TracTickets for help on using tickets.