Changeset 4990 for trunk/app.php
- Timestamp:
- 03/07/2007 05:29:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/app.php
r4953 r4990 193 193 } else { 194 194 $endtag = $this->ns_to_prefix($name); 195 if (strstr($this->in_content[count($this->in_content)-1], "<$endtag")) {195 if (strpos($this->in_content[count($this->in_content)-1], '<' . $endtag) !== false) 196 196 array_push($this->in_content, "/>"); 197 197 } else { … … 221 221 if(!empty($this->in_content)) { 222 222 // handle self-closing tags (case: text node found, need to close element started) 223 if (strstr($this->in_content[count($this->in_content)-1], "<")) {223 if (strpos($this->in_content[count($this->in_content)-1], '<') !== false) { 224 224 array_push($this->in_content, ">"); 225 225 }
Note: See TracChangeset
for help on using the changeset viewer.