diff options
| author | 2017-04-02 11:55:20 +0200 | |
|---|---|---|
| committer | 2017-04-02 11:55:20 +0200 | |
| commit | 3011bbc5e1360a6b01f3ea652eae509a0bb5f164 (patch) | |
| tree | 1d2eb088182b492efca291d5d416489e662f010c /app/Models/Search.php | |
| parent | 6d6fe12e8eca591214f67be1b9c14c46629079f3 (diff) | |
Search allow double quotes
`author:"some name"`
Diffstat (limited to 'app/Models/Search.php')
| -rw-r--r-- | app/Models/Search.php | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
