diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-15 20:21:55 +0000 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-15 20:21:55 +0000 |
commit | c9232d8f26f055a9a1124b4b3db510e80979bf18 (patch) | |
tree | 848b1f97d48d7488a17ba329d294b9ae85fa6b32 /lib | |
parent | 7aa49b5e87efa2aa383b446b264f00608f1a5eac (diff) |
Ticket #2242: fix reading of inline XHTML content in Atom feeds for OStatus input.
Lookup of the <div> needed to check for the XHTML namespace.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/activity.php b/lib/activity.php index 6acf37a8a..ae65fe36f 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -463,7 +463,7 @@ class ActivityUtils $text = $contentEl->textContent; return htmlspecialchars_decode($text, ENT_QUOTES); } else if ($type == 'xhtml') { - $divEl = ActivityUtils::child($contentEl, 'div'); + $divEl = ActivityUtils::child($contentEl, 'div', 'http://www.w3.org/1999/xhtml'); if (empty($divEl)) { return null; } |