Add bracket. Props flinkflonk. fixes #3921
git-svn-id: http://svn.automattic.com/wordpress/trunk@5000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad1ee85dc5
commit
0e6e4baefc
2
app.php
2
app.php
|
@ -192,7 +192,7 @@ class AtomParser {
|
|||
$this->in_content = array();
|
||||
} else {
|
||||
$endtag = $this->ns_to_prefix($name);
|
||||
if (strpos($this->in_content[count($this->in_content)-1], '<' . $endtag) !== false)
|
||||
if (strpos($this->in_content[count($this->in_content)-1], '<' . $endtag) !== false) {
|
||||
array_push($this->in_content, "/>");
|
||||
} else {
|
||||
array_push($this->in_content, "</$endtag>");
|
||||
|
|
Loading…
Reference in New Issue