X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelineuser.php;fp=actions%2Fapitimelineuser.php;h=c0894c5dbaa69491eae1725def746626f66bd477;hb=ae62b919401aff7166eb2ee5b8fdee5e627a68bc;hp=b509def613d29bbb26a9ace44d76375904dc7d07;hpb=e0a10f775f8dce8529c3c38f7f2df51e9765efb8;p=quix0rs-gnu-social.git diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index b509def613..c0894c5dba 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -384,7 +384,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction // 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 = $this->auth_user->shortenLinks($content);