This commit is contained in:
Mirco Wittrien 2019-08-31 08:13:30 +02:00
parent e0b72baf9b
commit ada442c5bd
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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");

View File

@ -413,6 +413,7 @@
.premiumApplicationsHeader-Zmkm5e,
.headerPurchase-2z_nch,
.row-1bU71H,
.sectionSeparator-2OWiNT,
.divider-21LyPb,
.sortFilterBar-3hePOV,
.headerText-2niCs_,