Add bracket. Props flinkflonk. fixes #3921

git-svn-id: https://develop.svn.wordpress.org/trunk@5000 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-03-08 01:21:29 +00:00
parent 0def5bea33
commit 52e761f2df
1 changed files with 1 additions and 1 deletions

View File

@ -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>");