From 3011bbc5e1360a6b01f3ea652eae509a0bb5f164 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 2 Apr 2017 11:55:20 +0200 Subject: Search allow double quotes `author:"some name"` --- app/Models/Search.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Models/Search.php') diff --git a/app/Models/Search.php b/app/Models/Search.php index 2e89ea05b..5cc7f8e8d 100644 --- a/app/Models/Search.php +++ b/app/Models/Search.php @@ -35,6 +35,8 @@ class FreshRSS_Search { } $this->raw_input = $input; + $input = preg_replace('/:"(.*?)"/', ':"\1"', $input); + $input = $this->parseNotIntitleSearch($input); $input = $this->parseNotAuthorSearch($input); $input = $this->parseNotInurlSearch($input); -- cgit v1.2.3