mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: https://develop.svn.wordpress.org/trunk@6010 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,7 +203,7 @@ class AtomParser {
|
||||
if(count($c) == 3) {
|
||||
array_push($newcontent, $c[2]);
|
||||
} else {
|
||||
if($this->is_xhtml) {
|
||||
if($this->is_xhtml || $this->is_text) {
|
||||
array_push($newcontent, $this->xml_escape($c));
|
||||
} else {
|
||||
array_push($newcontent, $c);
|
||||
|
||||
Reference in New Issue
Block a user