From 2870ea9849a1e2f0157b9b1986fa3ce30ea28061 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 29 Aug 2019 10:01:13 +0200 Subject: [PATCH] Update BDFDB.max.js --- Plugins/BDFDB.max.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/BDFDB.max.js b/Plugins/BDFDB.max.js index 720cd7e5c9..d4ff6bfb43 100644 --- a/Plugins/BDFDB.max.js +++ b/Plugins/BDFDB.max.js @@ -2591,7 +2591,7 @@ 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(/\t|\n|\r/g, ''); + template.innerHTML = html; if (template.content.childElementCount == 1) return template.content.firstElementChild; else { var wrapper = document.createElement("span");