Elan Ruusamäe
5c300aca97
do not define default value
2018-01-05 14:28:28 +02:00
Benoît Rouleau
6b274afd0b
unicode flag everywhere to fix more issues with and MAMP
2017-08-09 17:22:32 -04:00
Benoît Rouleau
449f009b39
Fix issue where minify() would corrupt Unicode characters (such as ) in some environments
...
Adding the `u` flag there fixes an issue in my environment (MAMP 4.1.1 with PHP 7.1.5) where `minify()` would corrupt the ` ` character (it would get replaced by the replacement character).
2017-07-20 20:34:49 -04:00
Elan Ruusamäe
5fb7ea1ed1
phpcs: enable psr2
2016-10-16 18:51:49 +03:00
Elan Ruusamäe
379feaba99
do some trivial codestyle fixes
...
unix newlines, trailing spaces
2016-01-22 00:38:12 +02:00
Steve Clay
6e8a656480
Add HTML5 block level elements to Minify_HTML
...
Fixes #424
2015-09-29 15:45:24 -04:00
Steve Clay
e596b35fc4
Collapse "min" into project root and get unit tests working.
...
Fixes #472
2015-09-28 15:39:25 -04:00
Steve Clay
51adb91399
Moved "lib" into "min" for easiest deployment
2008-08-19 03:58:28 +00:00
Steve Clay
711fbeb365
Minify_HTML: simplified placeholder logic
2008-08-17 17:41:13 +00:00
Steve Clay
50128e5600
Minify_HTML: shorter line lengths
2008-08-16 21:24:33 +00:00
Steve Clay
fe13899693
Minfy_HTML: all Unix newlines, replaces spaces with newlines in some tags to limit line lengths
...
Minify_CSS: fix Issue 49, uses newlines in common descendant selectors to limit line lengths
All tests passing with shorter lines and no added bytes!
2008-08-14 06:15:18 +00:00
Steve Clay
d2746cb43c
Minify_HTML: more efficient removal of ws outside tags, and possible fix to Issue 46
...
test/test_HTML.php: + timing when called directly
2008-08-13 14:00:11 +00:00
Steve Clay
1e04e2c68e
Minify_HTML code cleanup and minimal docblock.
2008-07-31 16:03:04 +00:00
Steve Clay
7e1f77f5d0
Minify_HTML no longer affects TEXTAREAs
2008-07-31 15:16:42 +00:00
Steve Clay
0697a120ee
+ Minify::$uploaderHoursBehind
...
+ fixed backtrace limit issue in Minify_HTML
+ default max-age of 30 minutes (instead of 0)
2008-07-29 03:48:10 +00:00
Steve Clay
c15acc8782
+ test_HTTP_ConditionalGet.php, phpDoc improvements, moved packer to 3rd-party, test for Minify loading fewer files for 304 responses.
2008-03-05 22:59:23 +00:00
Steve Clay
e8ac1dc8d0
Perf update for JSmin (Minify_Javascript), + phpDocs for public HTTP_* class APIs, minor Minify fix, private members changed to protected to allow easier subclassing.
2008-03-03 16:23:39 +00:00
Steve Clay
7a3d7129b4
+ HTTP_ConditionalGet_Build directory change monitor, + post-processing hook in Minify (for appending timestamps to URIs, etc.)
2008-03-02 04:59:13 +00:00
Steve Clay
0a939d4f91
V1.9.0 overhaul
2008-02-28 18:42:56 +00:00