...
|
...
|
@@ -37,7 +37,7 @@ const util = { |
|
|
|
|
|
let $ = cheerio.load(html, {decodeEntities: false});
|
|
|
|
|
|
$('a:not(.a-anchor)').removeAttr('style').attr('href', 'javascript:void(0);').siblings('.a-anchor').attr({'target': '_blank'});// eslint-disable-line
|
|
|
$('a:not(.a-anchor)').removeAttr('style').attr('href', 'javascript:void(0);').css({cursor: 'text'});// eslint-disable-line
|
|
|
$('script,link').remove();
|
|
|
|
|
|
html = $.html();
|
...
|
...
|
|