LearnBoost/stylus — pull request #889 by kizu (2012-11-17 23:10:19+00:00)
Title: Don't treat imported files that have `.css.` inside of the filename as literal CSS

There could be cases when the stylus file could have `.css.` inside of it, like `foo.css.styl`, and if we'd try to include it in other stylus file, then it'd be included as literal CSS. Such extensions are used in docpad or other generators with rails-like extension structure.

So, I've fixed it by adding a check on that, so if there would be a dot after `.css`, then Stylus wouldn't treat it as a literal CSS.

A test on that added and made sure all previous tests pass.