CssOptimizer strips out space in quotes, breaking CSS styles

Created on 2 July 2016, over 8 years ago
Updated 23 October 2024, about 1 month ago

CssOptimizer strips out space in quotes breaking certain kinds of CSS like content: " " which is why you see the comma-lists looking like value,value,value instead of value, value, value

Try this?

\s*([@{};,])\s*(?!")

πŸ› Bug report
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component

asset library system

Created by

πŸ‡ΊπŸ‡ΈUnited States jkochis

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024