Around version 1, when the HTML minification was added, the following code was put into min/lib/Minify/HTML.php around line 139
// use newlines before 1st attribute in open tags (to limit line lengths ) $this->_html = preg_replace('/(<[a-z\\-]+)\\s+([^>]+>)/i', "$1\n$2", $this->_html);
Earlier report here: http://webcache.googleusercontent.com/search?q=cache:20_of60FEyAJ:omninoggin.com/forum/index.php%3Ftopic%3D401.0+min/lib/Minify/HTML.php+site:omninoggin.com&cd=4&hl=en&ct=clnk&gl=us&lr=lang_fr|lang_en&client=firefox-a
Other than this misfeature, the module is great and does in fact work with 3.2.1… at least, the 1.0.4 version does, which I am sticking with until this is fixed, because I do not wish to have to repatch the plug-in after every upgrade but do wish to benefit from the rest of the HTML minification.
- The topic ‘[Plugin: WP Minify] Ill-conceived line-wrapping of HTML for "human readability" remains’ is closed to new replies.