mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* fix(core): selector alias values escape '<' so style text can't end early Attribute values that the compiler copies into selector text, such as an SVG reference alias's rewritten value or a composition or root id in a scope selector, are written inside a <style> element. A '<' in one could close that element early. These values now write '<' as the CSS escape \3c , which reads back as the same character, so each selector still matches the same elements. * test(core): name the '<' escape tests for what the escapes guarantee The selector escapes write '<' as \3c themselves, so selector text cannot end its style element even when the CSS is serialized without postcss's own </style escaping. The test names and comments now say that.