fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
21
node_modules/lodash/_escapeHtmlChar.js
generated
vendored
Normal file
21
node_modules/lodash/_escapeHtmlChar.js
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
var basePropertyOf = require('./_basePropertyOf');
|
||||
|
||||
/** Used to map characters to HTML entities. */
|
||||
var htmlEscapes = {
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'"': '"',
|
||||
"'": '''
|
||||
};
|
||||
|
||||
/**
|
||||
* Used by `_.escape` to convert characters to HTML entities.
|
||||
*
|
||||
* @private
|
||||
* @param {string} chr The matched character to escape.
|
||||
* @returns {string} Returns the escaped character.
|
||||
*/
|
||||
var escapeHtmlChar = basePropertyOf(htmlEscapes);
|
||||
|
||||
module.exports = escapeHtmlChar;
|
Loading…
Add table
Add a link
Reference in a new issue