Skip to content

Commit

Permalink
css: uses nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 2, 2024
1 parent 7c41975 commit 53883a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Alternatively, you can download the whole package or [tracy.phar](https://github

| Tracy | compatible with PHP | compatible with browsers
|-----------|---------------|----------
| Tracy 3.0 | PHP 8.0 – 8.3 | Chrome 64+, Firefox 69+, Safari 15.4+ and iOS Safari 15.4+
| Tracy 2.10| PHP 8.0 – 8.3 | Chrome 64+, Firefox 69+, Safari 15.4+ and iOS Safari 15.4+
| Tracy 2.9 | PHP 7.2 – 8.2 | Chrome 64+, Firefox 69+, Safari 13.1+ and iOS Safari 13.4+
| Tracy 3.0 | PHP 8.0 – 8.3 | Chrome 112+, Firefox 117+, Safari 16.5+
| Tracy 2.10| PHP 8.0 – 8.3 | Chrome 64+, Firefox 69+, Safari 15.4+
| Tracy 2.9 | PHP 7.2 – 8.2 | Chrome 64+, Firefox 69+, Safari 13.1+


Usage
Expand Down
1 change: 1 addition & 0 deletions src/Tracy/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ function ($match) use (&$last) {
/** @internal */
public static function minifyCss(string $s): string
{
return $s;
$last = '';
return preg_replace_callback(
<<<'XX'
Expand Down

0 comments on commit 53883a2

Please sign in to comment.