mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
0def5bea33
commit
52e761f2df
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…
x
Reference in New Issue
Block a user