Closed (duplicate)
Project:
Drupal core
Version:
11.x-dev
Component:
asset library system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Jul 2016 at 01:22 UTC
Updated:
23 Oct 2024 at 04:30 UTC
Jump to comment: Most recent
Comments
Comment #2
ramdas gaikar commentedThe below function in
namespace Drupal\Core\Asset;is the culprit for this.Someone good at Regex can easily fix this issue.
Comment #3
jkochis commentedActually I believe it's processCss() line 209 of CssOptimizer.php:
\s*([@{};,])\s*should change to:
\s*([@{};,])\s*(?!")Comment #4
jkochis commentedComment #5
dawehnerComment #6
jkochis commented@dawehner Do I need to write the tests? I'm fine submitting a patch or what have you. Just let me know.
Comment #7
dawehnerI don't have any tests written :) This tagging just signals that we need some tests, before we can mark this issue as RTBC.
Comment #20
quietone commentedI think this was fixed in #936316: CSS aggregation strips some essential whitespace within strings
If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!
Comment #21
quietone commented