From 868d3f600d85e0c3bcc96e63d208751564793b35 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Sun, 17 May 2020 23:21:37 +0500 Subject: [PATCH] [VkBridge] Fix one letter bug on titles (#1555) --- bridges/VkBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index ea81a2b2..2e03790b 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -355,7 +355,7 @@ class VkBridge extends BridgeAbstract 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'; return $result[0]; }