at-import / Sassy-Strings

Advanced string handling for Sass
41 stars 3 forks source link

Bugfix: str-replace when $old at beginning of string #9

Closed xfra35 closed 10 years ago

xfra35 commented 10 years ago

Hi, there's a bug with str-replace when the $old string is found at the beginning of $string. In other words when str-index() returns 1. This patch intends to fix it.

PS: keep up the good work!

KittyGiraudel commented 10 years ago

Actually I moved this repository to https://github.com/HugoGiraudel/SassyStrings. We need to revert this one to its previous state: where it was only relying on Ruby and not Sass.

xfra35 commented 10 years ago

Ok I didn't get that.