8 Commits

Author SHA1 Message Date
Luke Page
818109beca Fix issue with urls in mixins 2013-12-17 23:42:08 +00:00
Luke Page
9a6888bf0d Merge branch 'unquoted-relative-url-in-mixin' of https://github.com/bdukes/less.js 2013-12-17 23:26:34 +00:00
Luke Page
c1928b49d4 Merge branch 'normalized-urls' of https://github.com/rjgotten/less.js into 1.5.0-wip
Conflicts:
	test/css/static-urls/urls.css
	test/css/urls.css
2013-09-01 18:17:32 +01:00
rjgotten
e0561e3d95 Normalize URLs in generated CSS
Adds a normalizePath method to tree.evalEnv.prototype with which to normalize paths, i.e. , remove /../ or /./ segments stuck in the middle.

Unit tests have been updated to reflect these changes.
2013-08-07 10:44:12 +02:00
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +01:00
Brian Dukes
05be360993 Add failing test for imported mixin with wrong path
When relative URLs are on, and there's an image referenced via url(...),
if the URL is unquoted, the generated CSS duplicates the base path
2013-07-11 15:04:52 -05:00
Luke Page
9829f2409c When adding a path onto an unquoted url, escape characters that require it. Fixes #831 2012-12-28 21:04:28 +00:00
Luke Page
75a92bdc44 Add tests for static urls 2012-12-28 16:40:06 +00:00