Changeset 6010
- Timestamp:
- 09/02/07 20:42:00 (1 year ago)
- Files:
-
- trunk/wp-app.php (modified) (1 diff)
- trunk/wp-includes/atomlib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-app.php
r6004 r6010 829 829 830 830 if (!$code) { 831 $data = "<div xmlns='http://www.w3.org/1999/xhtml'>$data</div>"; 832 return array('xhtml', $data); 831 if (strpos($data, '<') === false) { 832 return array('text', $data); 833 } else { 834 $data = "<div xmlns='http://www.w3.org/1999/xhtml'>$data</div>"; 835 return array('xhtml', $data); 836 } 833 837 } 834 838 trunk/wp-includes/atomlib.php
r5951 r6010 204 204 array_push($newcontent, $c[2]); 205 205 } else { 206 if($this->is_xhtml ) {206 if($this->is_xhtml || $this->is_text) { 207 207 array_push($newcontent, $this->xml_escape($c)); 208 208 } else {
