mirror of https://github.com/kiwix/libkiwix.git
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:
parent
3641dbf14d
commit
2cc4befb12
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue