Use gsub! instead of gsub

* Be more ruby-ish and use `gsub!` instead of `gsub` because it's assigned to the same variable
* Use consistent string quotes in same function call
These are not necessarily equivalent, as the latter will modify the incoming text string.