/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/output-html-inline/src/tricky.js
7 строк
310 B
Alexander Akait
fix(html): make output.html.inline robust for edge cases (#21376)
11 июл 2026, 16:08
Не верифицирован
11 июл 2026, 16:08
dbcfa96
Код
Авторство
О чём код?
import "./tricky.css"; // Exercises the script-data escaped + double-escaped states: `<!--` opens the // escaped state and a following `<script` would hide the wrapper's real close. console.log("<!-- <script> alert(1) </script> -->"); console.log("</script><span>leak</span>"); window.__INLINE_MARKER__ = 42;