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) {
|
BDFDB.htmlToElement = function (html) {
|
||||||
if (!html || !html.trim()) return null;
|
if (!html || !html.trim()) return null;
|
||||||
let template = document.createElement('template');
|
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;
|
if (template.content.childElementCount == 1) return template.content.firstElementChild;
|
||||||
else {
|
else {
|
||||||
var wrapper = document.createElement("span");
|
var wrapper = document.createElement("span");
|
||||||
|
|
|
@ -413,6 +413,7 @@
|
||||||
.premiumApplicationsHeader-Zmkm5e,
|
.premiumApplicationsHeader-Zmkm5e,
|
||||||
.headerPurchase-2z_nch,
|
.headerPurchase-2z_nch,
|
||||||
.row-1bU71H,
|
.row-1bU71H,
|
||||||
|
.sectionSeparator-2OWiNT,
|
||||||
.divider-21LyPb,
|
.divider-21LyPb,
|
||||||
.sortFilterBar-3hePOV,
|
.sortFilterBar-3hePOV,
|
||||||
.headerText-2niCs_,
|
.headerText-2niCs_,
|
||||||
|
|
Loading…
Reference in New Issue