Sigh... somehow left a stray bit of test code and broke activity.php.
This commit is contained in:
parent
55a54d6f6a
commit
d115932466
@ -462,7 +462,7 @@ class ActivityUtils
|
|||||||
return htmlspecialchars($contentEl->textContent);
|
return htmlspecialchars($contentEl->textContent);
|
||||||
} else if ($type == 'html') {
|
} else if ($type == 'html') {
|
||||||
// The XML text decoding gives us an HTML string ready to roll.
|
// The XML text decoding gives us an HTML string ready to roll.
|
||||||
return $contentEl->textContent, ENT_QUOTES;
|
return $contentEl->textContent;
|
||||||
} else if ($type == 'xhtml') {
|
} else if ($type == 'xhtml') {
|
||||||
// Embedded XHTML; we have to pull it out of the document tree,
|
// Embedded XHTML; we have to pull it out of the document tree,
|
||||||
// then serialize it back out to an HTML fragment string.
|
// then serialize it back out to an HTML fragment string.
|
||||||
|
Loading…
Reference in New Issue
Block a user