remove unwanted replace

I don't want to insert space between text and `%` string, but I guess there is some reason. What this `gsub!` means?
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.