diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 959286c54..c9bd57c92 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -95,9 +95,7 @@ export const ]; tpl.innerHTML = html - .replace(/(]*>)([\s\S]*?)(<\/pre>)/gi, aMatches => { - return (aMatches[1] + aMatches[2].trim() + aMatches[3].trim()).replace(/\r?\n/g, '
'); - }) +// .replace(/]*>[\s\S]*?<\/pre>/gi, pre => pre.replace(/\n/g, '\n
')) .replace(/]*>/gi, '') .replace(/<\?xml[^>]*\?>/gi, '') // Not supported by