Some paragraph
{"ScriptPreparationCode":"var htmlBody = [\u0027\u003Ch3\u003EA body coming from an API... or somewhere else\u003C/h3\u003E\u0027,\r\n \u0027\u003Cdiv id=\u0022html-mock-body\u0022\u003E\u0027,\r\n \u0027It can contain regular HTML Elements and scripts with links.\u0027,\r\n \u0027\u003C/div\u003E\u0027,\r\n \u0027\u003Cscript type=\u0022text/javascript\u0022\u003E\u0027,\r\n \u0027(function() {\u0027,\r\n \u0027var bodyElement = document.querySelector(\\\u0027#html-mock-body\\\u0027);\u0027,\r\n \u0027var tag = document.createElement(\\\u0027h1\\\u0027);\u0027,\r\n \u0027tag.textContent =\u0027,\r\n \u0027\\\u0027This script is injected from external source. Make sure you trust the source before doing this!\\\u0027;\u0027,\r\n \u0027bodyElement.append(tag);\u0027,\r\n \u0027}());\u0027,\r\n \u0027\u003C/sc\u0027\u002B\u0027ript\u003E\u0027].join(\u0027\u0027);\r\n","TestCases":[{"Name":"one","Code":" const domParser = new DOMParser();\r\n const doc = domParser.parseFromString(htmlBody, \u0027text/html\u0027);\r\n\r\n const links = Array.from(doc.getElementsByTagName(\u0027link\u0027));\r\n const scripts = Array.from(doc.getElementsByTagName(\u0027script\u0027));\r\n const children = Array.from(doc.body.childNodes);\r\n\r\n const fragment = document.createDocumentFragment();\r\n\r\n fragment.append(...links);\r\n fragment.append(...children);\r\n fragment.append(...scripts);\r\n","IsDeferred":false},{"Name":"two","Code":" const container = document.createElement(\u0027div\u0027);\r\n container.innerHTML = htmlBody;\r\n\r\n const links = Array.from(container.getElementsByTagName(\u0027link\u0027));\r\n const scripts = Array.from(container.getElementsByTagName(\u0027script\u0027));\r\n const children = Array.from(container.childNodes);\r\n\r\n const fragment = document.createDocumentFragment();\r\n\r\n fragment.append(...links);\r\n fragment.append(...children);\r\n fragment.append(...scripts);\r\n","IsDeferred":false}]}