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>
|
</b> of <b>
|
||||||
{{count}}
|
{{count}}
|
||||||
</b> for <b>
|
</b> for <b>
|
||||||
{{searchPattern}}
|
"{{{searchPattern}}}"
|
||||||
</b>
|
</b>
|
||||||
{{/hasResults}}
|
{{/hasResults}}
|
||||||
{{^hasResults}}
|
{{^hasResults}}
|
||||||
No results were found for <b>{{searchPattern}}</b>
|
No results were found for <b>"{{{searchPattern}}}"</b>
|
||||||
{{/hasResults}}
|
{{/hasResults}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue