Show case insensitive matches in snippet search results
This commit is contained in:
parent
41acc87fbd
commit
938a07f1f7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module SnippetsHelper
|
|||
0,
|
||||
lined_content.size,
|
||||
surrounding_lines
|
||||
) if line.include?(query)
|
||||
) if line.downcase.include?(query.downcase)
|
||||
end
|
||||
|
||||
used_lines.uniq.sort
|
||||
|
|
Loading…
Reference in a new issue