mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +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,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