]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activityimporter.php
Unifying HTML stripping functions to common_strip_html
[quix0rs-gnu-social.git] / lib / activityimporter.php
index 8846831b9062205532a0cdd65a7a1ae00ff1d73a..4e13419ae7482ccd0aed3eac7ffad9e15e6ca789 100644 (file)
@@ -214,7 +214,7 @@ class ActivityImporter extends QueueHandler
         // Get (safe!) HTML and text versions of the content
 
         $rendered = $this->purify($sourceContent);
-        $content = html_entity_decode(strip_tags($rendered), ENT_QUOTES, 'UTF-8');
+        $content = common_strip_html($rendered);
 
         $shortened = $user->shortenLinks($content);