Changeset 4990 for trunk/wp-admin/import/blogger.php
- Timestamp:
- 03/07/2007 05:29:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/blogger.php
r4953 r4990 942 942 } else { 943 943 $endtag = $this->ns_to_prefix($name); 944 if (strstr($this->in_content[count($this->in_content)-1], "<$endtag")) {944 if (strpos($this->in_content[count($this->in_content)-1], '<' . $endtag) !== false) { 945 945 array_push($this->in_content, "/>"); 946 946 } else { … … 970 970 if(!empty($this->in_content)) { 971 971 // handle self-closing tags (case: text node found, need to close element started) 972 if (strstr($this->in_content[count($this->in_content)-1], "<")) {972 if (strpos($this->in_content[count($this->in_content)-1], '<') !== false) { 973 973 array_push($this->in_content, ">"); 974 974 }
Note: See TracChangeset
for help on using the changeset viewer.