- commit
- 4dbb2e71e4040f0810251e38348b07b1afec6925
- parent
- 5199cd518f15867d6a59e190226a91fae6658c1c
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2026-02-18 07:10
use setHTMLUnsafe() to enable declarative shadow roots
Diffstat
| M | babel.js | 2 | +- |
| M | src/babel.js | 2 | +- |
2 files changed, 2 insertions, 2 deletions
diff --git a/babel.js b/babel.js
@@ -37267,7 +37267,7 @@ var createTd = function(text, url) {
37267 37267 };
37268 37268
37269 37269 var run = function(html) {
37270 -1 preview.innerHTML = html;
-1 37270 preview.setHTMLUnsafe(html);
37271 37271 results.innerHTML = '';
37272 37272
37273 37273 return Promise.all(implementations.map(function(impl) {
diff --git a/src/babel.js b/src/babel.js
@@ -66,7 +66,7 @@ var createTd = function(text, url) {
66 66 };
67 67
68 68 var run = function(html) {
69 -1 preview.innerHTML = html;
-1 69 preview.setHTMLUnsafe(html);
70 70 results.innerHTML = '';
71 71
72 72 return Promise.all(implementations.map(function(impl) {