Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Mark all country names as html_safe for compatibility with Rails 3.1.4 and above #26

Merged
merged 1 commit into from
Aug 19, 2012

Conversation

theozaurus
Copy link

When using Rails 3.1.4 or above the following warning occurs:

activesupport-3.1.4/lib/active_support/core_ext/string/output_safety.rb:23: warning: regexp match /.../n against to UTF-8 string

This patch ensures that all country names that are passed to options_for_select are marked as html_safe.

pr0d1r2 added a commit that referenced this pull request Aug 19, 2012
Fix: Mark all country names as html_safe for compatibility with Rails 3.1.4 and above
@pr0d1r2 pr0d1r2 merged commit 081457f into countries:master Aug 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants