hexo/node_modules/core-js/modules/core.string.unescape-html.js

12 lines
317 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
'use strict';
var $export = require('./_export');
var $re = require('./_replacer')(/&(?:amp|lt|gt|quot|apos);/g, {
'&': '&',
'&lt;': '<',
'&gt;': '>',
'&quot;': '"',
'&apos;': "'"
});
$export($export.P + $export.F, 'String', { unescapeHTML: function unescapeHTML() { return $re(this); } });