Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression where only first backslash/apostrophe was escaped
d152b2d broke pretty much all usage of Erubi on websites because it only escapes the first backslash or apostrophe in the text when escaping. This removes the use of String#[]= to handle escaping, moving to String#gsub! (or gsub in the frozen case).
- Loading branch information
1 parent
ec1f639
commit c78f722
Showing
3 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters