X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Factivityimporter.php;h=4e13419ae7482ccd0aed3eac7ffad9e15e6ca789;hb=68621849568bed3e20eca9e02e38bed04fa3001e;hp=8846831b9062205532a0cdd65a7a1ae00ff1d73a;hpb=49fa34e23413f2901674ac0f2dc65b4bc8db6ddd;p=quix0rs-gnu-social.git diff --git a/lib/activityimporter.php b/lib/activityimporter.php index 8846831b90..4e13419ae7 100644 --- a/lib/activityimporter.php +++ b/lib/activityimporter.php @@ -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);