Skip to content
Snippets Groups Projects
Commit d8101e85 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #896 from splitbrain/lessmorecomments

preserve comments in less if 'compress' config disabled
parents b2e6a1f4 7d247a3c
No related branches found
No related tags found
No related merge requests found
......@@ -166,8 +166,11 @@ function css_out(){
* @return string
*/
function css_parseless($css) {
global $conf;
$less = new lessc();
$less->importDir[] = DOKU_INC;
$less->setPreserveComments(!$conf['compress']);
if (defined('DOKU_UNITTEST')){
$less->importDir[] = TMP_DIR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment