mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 21:14:45 +00:00
.
This commit is contained in:
parent
beb1329f9f
commit
2b95e76931
7736 changed files with 1874747 additions and 51184 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