#287 - Fixed & improved highlightText() + a bit of cleaning (#288)

This commit is contained in:
Simon Cambier
2023-09-11 21:32:01 +02:00
committed by GitHub
parent d651278b43
commit 0558b9a328
3 changed files with 38 additions and 44 deletions

View File

@@ -75,6 +75,10 @@ export class Query {
return this.getTags().map(o => o.replace(/^#/, ''))
}
/**
*
* @returns An array of strings that are in quotes
*/
public getExactTerms(): string[] {
return [
...new Set(