Update meilisearch-http/public/interface.html

Co-Authored-By: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
Emre Saglam 2020-03-24 10:39:53 -07:00 committed by GitHub
parent 86e1ba871f
commit b62f9fabf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,"&lt;"); str = str.replace(/</g,"&lt;");
str = str.replace(/>/g,"&gt;"); str = str.replace(/>/g,"&gt;");
} }