blob: eb8a6cfbf74c4effe064b3c8aec43dccf92ebb98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
'use strict';
var $export = require('./_export');
var $re = require('./_replacer')(/&(?:amp|lt|gt|quot|apos);/g, {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
''': "'"
});
$export($export.P + $export.F, 'String', { unescapeHTML: function unescapeHTML() { return $re(this); } });
|