Skip to content

Commit

Permalink
Update Version
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Oct 17, 2021
1 parent 566a5d8 commit 5c15bfd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Minify Extension for [Mecha](https://github.com/mecha-cms/mecha)
Release Notes
-------------

### 2.5.6
### 2.5.7

- Fixed PHP minifier bug [#1](https://github.com/mecha-cms/x.minify/issues/1)
- Fixed broken minified CSS when found an empty selector [#3](https://github.com/mecha-cms/x.minify/pull/3)

### 2.5.5

Expand Down
2 changes: 1 addition & 1 deletion minify/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Minify
description: Remove white-spaces and unused comments in HTML, CSS and JavaScript files.
author: Taufik Nurrohman
type: Markdown
version: 2.5.6
version: 2.5.7

use:
'.\lot\x\layout': 0
Expand Down
4 changes: 2 additions & 2 deletions minify/engine/plug/minify.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
$out = explode('}', $out);
array_pop($out);
array_pop($out);
// `}` concatenated to the end of the implode() function
// `}` concatenated to the end of the `implode()` function
// to fix the problem with the closing brace not appearing
// at the end of the CSS selector
$out = implode('}', $out) . '}';
Expand Down Expand Up @@ -621,4 +621,4 @@
Minify::_('.html', [$html, $state['.html']]);
Minify::_('.js', [$js, $state['.js']]);
Minify::_('.json', [$json, $state['.json']]);
Minify::_('.php', [$php, $state['.php']]);
Minify::_('.php', [$php, $state['.php']]);

0 comments on commit 5c15bfd

Please sign in to comment.