]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/importtwitteratom.php
tabs to spaces
[quix0rs-gnu-social.git] / scripts / importtwitteratom.php
index 261dfb1d02b7af595d628632eec97f1af2947cb4..a29526f27e1726f57f3679dcdab034fbf4350614 100644 (file)
@@ -89,7 +89,7 @@ function importActivityStream($user, $doc)
 
         $html = htmLawed($html, $config);
 
-        $content = html_entity_decode(strip_tags($html));
+        $content = html_entity_decode(strip_tags($html), ENT_QUOTES, 'UTF-8');
 
         $notice = Notice::saveNew($user->id,
                                   $content,