Commit 190ed235 authored by Max Kostikov's avatar Max Kostikov

Add URL decode if shared post author name contains non-latin characters

parent 20aa814f
......@@ -242,7 +242,7 @@ function twitter_shortenmsg($b) {
while (strpos($msg, " ") !== false)
$msg = str_replace(" ", " ", $msg);
$msg = trim($msg);
$msg = trim(urldecode($msg));
// Add URL if exist and no image found
if (empty($image) && $link != '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment