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:
ryan 2007-03-08 01:21:29 +00:00
parent ad1ee85dc5
commit 0e6e4baefc
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>");