WIP - add extractor, generate snippet_data
This commit is contained in:
19
node_modules/underscore.string/helper/escapeChars.js
generated
vendored
Normal file
19
node_modules/underscore.string/helper/escapeChars.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/* We're explicitly defining the list of entities we want to escape.
|
||||
nbsp is an HTML entity, but we don't want to escape all space characters in a string, hence its omission in this map.
|
||||
|
||||
*/
|
||||
var escapeChars = {
|
||||
'¢' : 'cent',
|
||||
'£' : 'pound',
|
||||
'¥' : 'yen',
|
||||
'€': 'euro',
|
||||
'©' :'copy',
|
||||
'®' : 'reg',
|
||||
'<' : 'lt',
|
||||
'>' : 'gt',
|
||||
'"' : 'quot',
|
||||
'&' : 'amp',
|
||||
'\'' : '#39'
|
||||
};
|
||||
|
||||
module.exports = escapeChars;
|
||||
Reference in New Issue
Block a user