{"ScriptPreparationCode":null,"TestCases":[{"Name":"DOMPurify","Code":"const testString = \u0060\r\n\u003Cb\u003EWelcome to safeland\u003C/b\u003E\u003Cbr\u003E\r\n\u003Ca href=\u0027javascript:alert(1)\u0027\u003EThis is fun\u003C/a\u003E\u003Cbr\u003E\r\n\u003Cimg src=x onerror=console.log(1)\u003E\r\n\u0060\r\nconst result = DOMPurify.sanitize(testString)","IsDeferred":false},{"Name":"Sanitize HTML","Code":"const testString = \u0060\r\n\u003Cb\u003EWelcome to safeland\u003C/b\u003E\u003Cbr\u003E\r\n\u003Ca href=\u0027javascript:alert(1)\u0027\u003EThis is fun\u003C/a\u003E\u003Cbr\u003E\r\n\u003Cimg src=x onerror=console.log(1)\u003E\r\n\u0060\r\nconst result = sanitizeHtml(testString)","IsDeferred":false}]}