mirror of
https://github.com/actions/setup-python.git
synced 2026-11-02 05:01:01 +00:00
Initial pass
This commit is contained in:
commit
39c08a0eaa
7242 files changed
+1886006
No files matched your search
+21
@@ -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;
|
||||
Reference in new issue
Block a user