From: Brion Vibber Date: Thu, 18 Mar 2010 16:10:44 +0000 (-0700) Subject: Sigh... somehow left a stray bit of test code and broke activity.php. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d11593246648d3fbad30b4405d5dbbf73063769a;p=quix0rs-gnu-social.git Sigh... somehow left a stray bit of test code and broke activity.php. --- diff --git a/lib/activity.php b/lib/activity.php index d7e13052d4..4b724ee90e 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -462,7 +462,7 @@ class ActivityUtils return htmlspecialchars($contentEl->textContent); } else if ($type == 'html') { // The XML text decoding gives us an HTML string ready to roll. - return $contentEl->textContent, ENT_QUOTES; + return $contentEl->textContent; } else if ($type == 'xhtml') { // Embedded XHTML; we have to pull it out of the document tree, // then serialize it back out to an HTML fragment string.