mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-10 22:21:11 +00:00
.
This commit is contained in:
parent
fc725ba36b
commit
422b9fdb15
7395 changed files with 1786235 additions and 3476 deletions
node_modules/lodash
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