diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/documentation/components/SearchResults.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/documentation/components/SearchResults.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/documentation/components/SearchResults.tsx b/server/sonar-web/src/main/js/apps/documentation/components/SearchResults.tsx index 4ec73f848d3..9640472b73c 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/SearchResults.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/SearchResults.tsx @@ -57,6 +57,7 @@ export default class SearchResults extends React.PureComponent<Props> { const results = this.index .search( query + .replace(/[\^\-+:~*]/g, '') .split(/\s+/) .map(s => `${s}~1 ${s}*`) .join(' ') |