diff --git a/SrcJySet.js b/SrcJySet.js index 366e47fd..d031dda6 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -603,7 +603,7 @@ function SRCSet() { let biuhtml = fetch(urlfile,{timeout:2000}); biuhtml = biuhtml.replace(reg, function(word) { return /^\/{2,}/.test(word) || /^\/\*/.test(word) ? "" : word; - }).replace(/^.*#.*$/mg,""); + }).replace(/^.*#.*$/mg,"").replace(/[\t\r\n]/g,''); let biujson = JSON.parse(biuhtml); let biudata = {}; biudata.url = biujson.url;