Make WordPress Core


Ignore:
Timestamp:
09/02/2007 08:42:00 PM (18 years ago)
Author:
markjaquith
Message:

Escape text titles in AtomParser. Props Sam Ruby. fixes #4892

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/atomlib.php

    r5951 r6010  
    204204                        array_push($newcontent, $c[2]);
    205205                    } else {
    206                         if($this->is_xhtml) {
     206                        if($this->is_xhtml || $this->is_text) {
    207207                            array_push($newcontent, $this->xml_escape($c));
    208208                        } else {
Note: See TracChangeset for help on using the changeset viewer.