Fix percentage conversion in mixin

Otherwise the result is simply a quoted string