Skip to content

Commit

Permalink
Run rubocop autocorrector
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Oct 18, 2023
1 parent 4576f87 commit 9dbd526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ad_localize/sanitizers/ios_to_android_sanitizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def sanitize(value:)
end
processedValue = processedValue.gsub("\\U", "\\u")
processedValue = processedValue.gsub(/&(?!((#\d+)|(\w+));)/, '&')
processedValue = processedValue.gsub(/&/) { |match| match.replace('\&') }
processedValue = processedValue.gsub("&") { |match| match.replace('\&') }
"\"#{processedValue}\""
end
end
Expand Down

0 comments on commit 9dbd526

Please sign in to comment.