diff options
-rw-r--r-- | content/pages/buscar.php.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/pages/buscar.php.md b/content/pages/buscar.php.md index f0ae57b..542b02e 100644 --- a/content/pages/buscar.php.md +++ b/content/pages/buscar.php.md @@ -54,11 +54,11 @@ if (isset($_GET['q'])) { } } if (! $is_stop_word) { - $keywords_temp .= $keyword; + $keywords_temp .= "{$keyword} "; } } - $keywords = $keywords_temp; + $keywords = trim($keywords_temp); $keywords = explode(' ', $keywords); $found_results = []; |