初始化
This commit is contained in:
7
public/exadmin/assets/escape-html.e5dfadb9.js
Normal file
7
public/exadmin/assets/escape-html.e5dfadb9.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* escape-html
|
||||
* Copyright(c) 2012-2013 TJ Holowaychuk
|
||||
* Copyright(c) 2015 Andreas Lubbe
|
||||
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
||||
* MIT Licensed
|
||||
*/var i=/["'&<>]/,u=l;function l(n){var a=""+n,c=i.exec(a);if(!c)return a;var r,s="",e=0,t=0;for(e=c.index;e<a.length;e++){switch(a.charCodeAt(e)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}t!==e&&(s+=a.substring(t,e)),t=e+1,s+=r}return t!==e?s+a.substring(t,e):s}export{u as e};
|
||||
Reference in New Issue
Block a user