deno icon indicating copy to clipboard operation
deno copied to clipboard

Wrong format in CSS property `unicode-range`

Open oscarotero opened this issue 1 year ago • 2 comments

Version: Deno 2.0.0

I suspect unicode ranges (starting with U+[code]) are interpreted as math operations, so the plus character is wrapped with spaces.

@font-face {
  font-family: 'Inter';
  font-weight: 400 600;
  font-display: swap;
  font-style: oblique 0 10deg;
  src: url("/fonts/inter.woff2") format("woff2");
-  unicode-range: U+0-00FF, U+131, U+152-0153, U+2BB-02BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20 AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+  unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
}

oscarotero avatar Oct 11 '24 18:10 oscarotero