mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
Update meilisearch-http/public/interface.html
Co-Authored-By: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
parent
86e1ba871f
commit
b62f9fabf2
@ -148,7 +148,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
function sanitizeHTMLEntities (str) {
|
function sanitizeHTMLEntities (str) {
|
||||||
if(str && typeof str === 'string') {
|
if (str && typeof str === 'string') {
|
||||||
str = str.replace(/</g,"<");
|
str = str.replace(/</g,"<");
|
||||||
str = str.replace(/>/g,">");
|
str = str.replace(/>/g,">");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user