FIX - теги в OG

This commit is contained in:
Krivchikov Dmitry 2016-04-30 16:13:34 +03:00
parent 6562ffd1ba
commit 2c8066ec58
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class Helper
$og = array();
$og['title'] = str_replace('"', 'ʺ', $point->name) . ' [wikipoints.ru]';
$point->description = str_replace('"', 'ʺ', $point->description);
$og['description'] = mb_substr($point->description, 0, 99, 'UTF-8') . '…';
$og['description'] = mb_substr(Helper::replaceLinks($point->description), 0, 99, 'UTF-8') . '…';
$og['site_name'] = App::$defaultTitle;
$og['type'] = 'website';
$og['url'] = 'https://wikipoints.ru/?point=' . $point->id;