Make WordPress Core

Opened 22 years ago

Closed 21 years ago

Last modified 5 years ago

#1077 closed defect (bug) (invalid)

CDATA chunk stripped

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

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
22 years ago

  • Patch → No

#2 @ringmaster
22 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
21 years ago

  • Resolution → invalid
  • Status new → closed

closed following ringmaster's explanation

Note: See TracTickets for help on using tickets.