Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/results/_note.html.haml')
-rw-r--r--app/views/search/results/_note.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_note.html.haml b/app/views/search/results/_note.html.haml
index d88b7b32ed6..8d5d8670b5c 100644
--- a/app/views/search/results/_note.html.haml
+++ b/app/views/search/results/_note.html.haml
@@ -27,4 +27,4 @@
.note-search-result
.term
- = search_md_sanitize(note.note)
+ = simple_search_highlight_and_truncate(note.note, @search_term)