mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 11:51:35 +00:00
Add brand and grape_variety to uppercase tag exception list
This commit is contained in:
@@ -216,7 +216,7 @@ export default {
|
||||
// A few OSM keys expect values to contain uppercase values (see #3377).
|
||||
// This is not an exhaustive list (e.g. `name` also has uppercase values)
|
||||
// but these are the fields where taginfo value lookup is most useful.
|
||||
var re = /network|taxon|genus|species/;
|
||||
var re = /network|taxon|genus|species|brand|grape_variety/;
|
||||
var allowUpperCase = (parameters.key.match(re) !== null);
|
||||
var f = filterValues(allowUpperCase);
|
||||
callback(null, d.data.filter(f).map(valKeyDescription));
|
||||
|
||||
Reference in New Issue
Block a user