Fix the creation of DOM elements from a HTML string
authorAlexander Ebert <ebert@woltlab.com>
Mon, 14 Nov 2022 14:26:03 +0000 (15:26 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 14 Nov 2022 14:26:03 +0000 (15:26 +0100)
commit24b0319fbfa6f1eb166895758f7bbdfd37648450
tree80d5cb872e1c310b3b78b1d842d2fe12ef9a15fd
parente4370e417225353e2530e263b25c50fdc4cc5799
Fix the creation of DOM elements from a HTML string

The naive approach of using `innerHTML` does not work for script tags. These are only recognized when they are manually inserted into the DOM for security reasons.
ts/WoltLabSuite/Core/Component/Dialog/Setup.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Component/Dialog/Setup.js