Skip to content

Commit 4e54c2c

Browse files
MZIchenzhutian
MZI
authored andcommitted
fix: language will be escaped when use concatjs
1 parent 666b645 commit 4e54c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concatJS.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function concatJS(data) {
2828
let htmlTxt = ''
2929
html.on('data', (chunk) => (htmlTxt += chunk));
3030
html.on('end', () => {
31-
const $ = cheerio.load(htmlTxt);
31+
const $ = cheerio.load(htmlTxt, { decodeEntities: false });
3232
const $scripts = {};
3333
const srcs = [];
3434
$('script[src]').each((idx, ele) => {

0 commit comments

Comments
 (0)