lessphp icon indicating copy to clipboard operation
lessphp copied to clipboard

LESS compiler written in PHP

Results 103 lessphp issues
Sort by recently updated
recently updated
newest added

fixed exception in parsing symbols like em dash or cyrillic letters. Tests are included

pr: bug-fix

injectVariables has still `@` as hard Coded Variable Prefix

pr: behaviour-change

I have coded a solution for #386. Less.js uses encodeURIComponent() if the matched tag is uppercase, so I followed that logic and basically made 2 changes to the lib__sprintf() function:...

pr: bug-fix
pending-feedback

It appears that the lessphp implementation of the format function doesn't support uppercase placeholders. Here's an example: ``` @color: #333333; @url: %("../img/sprite_icons_%D.svg", @color); background-image: (@url); ``` The (expected) output using...

bug

Hello, I'm using PHP 5.3 and I got the following error: Declaration of lessify::parse() should be compatible with that of lessc::parse() The second parameter of the parse method was missed....

pr: bug-fix

The command-line script was ignoring -f and -c when -w was enabled

pr: bug-fix
pr: behaviour-change

I used your instructions for autocompile as advised here http://leafo.net/lessphp/docs/#compiling_automatically since checkedCompile only checks the master less file and none of the @import ones. The issue is that when you...

enhancement

...(before closing curly brace) in "compressed" output mode of formatter. For example, instead of: ``` .example{background:#eee;color:#000;} ``` we will have: ``` .example{background:#eee;color:#000} ```

pr: behaviour-change

Support an extra parameter to change relative paths in url() statement. Enabled by default.

pr: enhancement

This is easier to demonstrate than to explain. Imagine the following file structure. Assume that subfolder-b is a symlinked folder. ``` /path/to/subfolder-a/subdir/filea.less /path/to/subfolder-b/subdir/fileb.less ``` In fileb.less: ``` import "../../subfolder-a/subdir/filea.less"; ```...

bug