lightningcss icon indicating copy to clipboard operation
lightningcss copied to clipboard

Odd handling of specific character "E" in certain cases, being mapped to unicode U+0065

Open ezzak opened this issue 9 months ago • 0 comments

I've come across this odd case where 0e is mapped to 0\65, I'm trying to understand why this is the case.

Image

I've tried adding a custom Visitor to avoid this behavior but this seems (?maybe) to be happening at a latest stage so it seems to be getting bypassed.

https://lightningcss.dev/playground/#%7B%22minify%22%3Afalse%2C%22customMedia%22%3Atrue%2C%22cssModules%22%3Afalse%2C%22analyzeDependencies%22%3Afalse%2C%22targets%22%3A%7B%22chrome%22%3A6225920%7D%2C%22include%22%3A0%2C%22exclude%22%3A0%2C%22source%22%3A%22.foo%20%7B%5Cn%20%20height%3A%200e%3B%5Cn%20%20height%3A%200f%3B%5Cn%20%20height%3A%203px%3B%5Cn%7D%5Cn%22%2C%22visitorEnabled%22%3Afalse%2C%22visitor%22%3A%22%22%2C%22unusedSymbols%22%3A%5B%5D%2C%22version%22%3A%22local%22%7D

ezzak avatar Mar 25 '25 06:03 ezzak