Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Commit

Permalink
fixing ampersand escape. Forgot to assign it to the var...
Browse files Browse the repository at this point in the history
  • Loading branch information
yogoo committed Mar 15, 2012
1 parent f7d9b9c commit 6414ed6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -304,7 +304,7 @@ protected function runDeep($currentParent = 0, $depth = 0) {
$props['changefreq'] = $changefreq;
$props['priority'] = $priority;
// escape ampersand as per http://www.w3.org/TR/REC-xml/#syntax
preg_replace('/&/', '&', $props['title']);
$props['title'] = preg_replace('/&/', '&', $props['title']);
}

$output .= $this->getChunk('Item', $props);
Expand Down

0 comments on commit 6414ed6

Please sign in to comment.