FIX - теги в OG
This commit is contained in:
parent
6562ffd1ba
commit
2c8066ec58
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue