Compare commits
6 Commits
ae73a13307
...
37e60ceca6
Author | SHA1 | Date |
---|---|---|
Samantaz Fox | 37e60ceca6 | |
Samantaz Fox | d3bff46fe0 | |
Samantaz Fox | 441ea8937a | |
Samantaz Fox | 9d115d8223 | |
Samantaz Fox | 96cf6402fe | |
Samantaz Fox | 0249f03360 |
|
@ -58,9 +58,9 @@ module Invidious::Search
|
|||
# Remove surrounding whitespaces. Mostly useful for copy/pasted URLs.
|
||||
@raw_query = _raw_query.strip
|
||||
|
||||
# Check for smart features (ex: URL search) inhibitor (exclamation mark).
|
||||
# Check for smart features (ex: URL search) inhibitor (backslash).
|
||||
# If inhibitor is present, remove it.
|
||||
if @raw_query.starts_with?('!')
|
||||
if @raw_query.starts_with?('\\')
|
||||
@inhibit_ssf = true
|
||||
@raw_query = @raw_query[1..]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue