]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activityobject.php
Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO...
[quix0rs-gnu-social.git] / lib / activityobject.php
index 95615d581c8266537e02f1145176b08a048d9b2e..c957933d04bff8c2e11ba75552e58faeaabe4b81 100644 (file)
@@ -203,7 +203,7 @@ class ActivityObject
 
         $title = ActivityUtils::childHtmlContent($element, self::TITLE);
 
-        $this->title = html_entity_decode(strip_tags($title));
+        $this->title = html_entity_decode(strip_tags($title), ENT_QUOTES, 'UTF-8');
 
         $this->source  = $this->_getSource($element);