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.
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.
Hi, there's a bug with str-replace when the
$old
string is found at the beginning of$string
. In other words whenstr-index()
returns 1. This patch intends to fix it.PS: keep up the good work!