summaryrefslogtreecommitdiff
path: root/app/Models/Search.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-04-02 11:55:20 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-04-02 11:55:20 +0200
commit3011bbc5e1360a6b01f3ea652eae509a0bb5f164 (patch)
tree1d2eb088182b492efca291d5d416489e662f010c /app/Models/Search.php
parent6d6fe12e8eca591214f67be1b9c14c46629079f3 (diff)
Search allow double quotes
`author:"some name"`
Diffstat (limited to 'app/Models/Search.php')
-rw-r--r--app/Models/Search.php2
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('/:&quot;(.*?)&quot;/', ':"\1"', $input);
+
$input = $this->parseNotIntitleSearch($input);
$input = $this->parseNotAuthorSearch($input);
$input = $this->parseNotInurlSearch($input);