diff --git a/lib/localized_country_select.rb b/lib/localized_country_select.rb index bff7172..64f889a 100644 --- a/lib/localized_country_select.rb +++ b/lib/localized_country_select.rb @@ -63,7 +63,7 @@ def localized_country_select_tag(name, selected_value = nil, priority_countries # as +selected+ to have it marked as the selected option tag. # Country codes listed as an array of symbols in +priority_countries+ argument will be listed first def localized_country_options_for_select(selected = nil, priority_countries = nil) - country_options = "" + country_options = "".html_safe if priority_countries country_options += options_for_select(LocalizedCountrySelect::priority_countries_array(priority_countries), selected) country_options += "\n"