lessphp
lessphp copied to clipboard
LESS compiler written in PHP
fixed exception in parsing symbols like em dash or cyrillic letters. Tests are included
injectVariables has still `@` as hard Coded Variable Prefix
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:...
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...
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....
The command-line script was ignoring -f and -c when -w was enabled
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...
...(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} ```
Support an extra parameter to change relative paths in url() statement. Enabled by default.
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"; ```...