Correctly display searchpattern in search result page.

The `searchPattern` is already "diples encoded".
So we can simply using it without protecting us from script injection.

Fix #723
This commit is contained in:
Matthieu Gautier 2022-03-09 15:44:19 +01:00
parent 3641dbf14d
commit 2cc4befb12
1 changed files with 2 additions and 2 deletions

View File

@ -107,11 +107,11 @@
</b> of <b>
{{count}}
</b> for <b>
{{searchPattern}}
"{{{searchPattern}}}"
</b>
{{/hasResults}}
{{^hasResults}}
No results were found for <b>{{searchPattern}}</b>
No results were found for <b>"{{{searchPattern}}}"</b>
{{/hasResults}}
</div>