Closed nicolasygrand closed 4 years ago
Thank you for this PR. For the record, this PR has not been merged but has inspired the final commit. Using '\%'
does not solve the problem because with gsub \&
represents the all match. So, %
becomes %#37;
instead of \%
. As mentionned in the ruby string documentation, I have used the block notation to have the wanted \
before all &
occurrences.
Linked to #56 , fixed in 4.0.4