[VkBridge] Fix one letter bug on titles (#1555)
This commit is contained in:
parent
f4affe1833
commit
868d3f600d
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ class VkBridge extends BridgeAbstract
|
||||||
|
|
||||||
private function getTitle($content)
|
private function getTitle($content)
|
||||||
{
|
{
|
||||||
preg_match('/^["\w\ \p{Cyrillic}\(\)\?#«»-]+/mu', htmlspecialchars_decode($content), $result);
|
preg_match('/^["\w\ \p{L}\(\)\?#«»-]+/mu', htmlspecialchars_decode($content), $result);
|
||||||
if (count($result) == 0) return 'untitled';
|
if (count($result) == 0) return 'untitled';
|
||||||
return $result[0];
|
return $result[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue