mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 05:00:06 +01:00
Update meilisearch-http/public/interface.html
bypassing <em> tag after encoding the "<>" Co-Authored-By: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
parent
6151bc262f
commit
ae17aa4955
@ -151,6 +151,8 @@
|
||||
if (str && typeof str === 'string') {
|
||||
str = str.replace(/</g,"<");
|
||||
str = str.replace(/>/g,">");
|
||||
str = str.replace(/<em>/g,"<em>");
|
||||
str = str.replace(/<\/em>/g,"<\/em>");
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user