stuff
This commit is contained in:
parent
e0b72baf9b
commit
ada442c5bd
File diff suppressed because one or more lines are too long
|
@ -2591,7 +2591,8 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
|||
BDFDB.htmlToElement = function (html) {
|
||||
if (!html || !html.trim()) return null;
|
||||
let template = document.createElement('template');
|
||||
template.innerHTML = html.replace(/(?<!pre)>[\t\r\n]+<(?!pre)/g, "><");
|
||||
try {template.innerHTML = html.replace(/(?<!pre)>[\t\r\n]+<(?!pre)/g, "><");}
|
||||
catch (err) {template.innerHTML = html.replace(/>[\t\r\n]+<(?!pre)/g, "><");}
|
||||
if (template.content.childElementCount == 1) return template.content.firstElementChild;
|
||||
else {
|
||||
var wrapper = document.createElement("span");
|
||||
|
|
|
@ -413,6 +413,7 @@
|
|||
.premiumApplicationsHeader-Zmkm5e,
|
||||
.headerPurchase-2z_nch,
|
||||
.row-1bU71H,
|
||||
.sectionSeparator-2OWiNT,
|
||||
.divider-21LyPb,
|
||||
.sortFilterBar-3hePOV,
|
||||
.headerText-2niCs_,
|
||||
|
|
Loading…
Reference in New Issue