Changeset 6026 for trunk/wp-admin/import/blogger.php
- Timestamp:
- 09/03/2007 11:32:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/blogger.php
r5966 r6026 920 920 } else if(in_array($tag, $this->ATOM_CONTENT_ELEMENTS) || in_array($tag, $this->ATOM_SIMPLE_ELEMENTS)) { 921 921 $this->in_content = array(); 922 $this->is_xhtml = $attrs['type'] == 'xhtml'; 922 $this->is_xhtml = $attrs['type'] == 'xhtml'; 923 923 array_push($this->in_content, array($tag,$this->depth)); 924 924 } else if($tag == 'link') { … … 936 936 937 937 if(!empty($this->in_content)) { 938 if($this->in_content[0][0] == $tag && 938 if($this->in_content[0][0] == $tag && 939 939 $this->in_content[0][1] == $this->depth) { 940 940 array_shift($this->in_content); … … 999 999 } 1000 1000 } 1001 } 1001 } 1002 1002 return $name; 1003 1003 } … … 1005 1005 function xml_escape($string) 1006 1006 { 1007 return str_replace(array('&','"',"'",'<','>'), 1008 array('&','"',''','<','>'), 1007 return str_replace(array('&','"',"'",'<','>'), 1008 array('&','"',''','<','>'), 1009 1009 $string ); 1010 1010 }
Note: See TracChangeset
for help on using the changeset viewer.