mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08: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,11 +148,11 @@
|
|||||||
|
|
||||||
<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,">");
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function httpGet(theUrl) {
|
function httpGet(theUrl) {
|
||||||
|
Loading…
Reference in New Issue
Block a user