X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8688edf992a909ca914834a00be58bbcd175f2e1..98475075c70d19fc04912c12b67a8f9194fc709f:/app/helpers/browse_helper.rb?ds=inline diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index ea17b8202..c4e4d425a 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -97,7 +97,7 @@ private if key == "wikipedia" # This regex should match Wikipedia language codes, everything # from de to zh-classical - if value =~ /^([a-z-]{2,12}):(.+)$/ + if value =~ /^([a-z-]{2,12}):(.+)$/i # Value is : so split it up # Note that value is always left as-is, see: https://trac.openstreetmap.org/ticket/4315 lang = $1