You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consolidate inline script escaping into shared utility (#16303)
* Consolidate inline script escaping into shared stringifyForScript utility
Unify the two separate script-embedding escape approaches (defineScriptVars
and safeJsonStringify) into a single stringifyForScript function in escape.ts.
Uses a comprehensive < escape strategy rather than pattern-matching specific
tag sequences, covering all ETAGO variants in one pass.
* Add changeset
* Update changeset description
* Fix stringifyForScript to handle undefined values
* Update astro-directives test assertion for new escape sequence
0 commit comments