Changeset 13349 in josm


Ignore:
Timestamp:
2018-01-21T14:11:45+01:00 (6 years ago)
Author:
Klumbumbus
Message:

see #15719 - allow units in width comma autofix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/numeric.mapcss

    r13345 r13349  
    101101}
    102102
    103 *[width][width =~ /^[0-9]+,[0-9]+$/] {
     103*[width][width =~ /^[0-9]+,[0-9]+( (m|ft))?$/] {
    104104  throwWarning: tr("unusual value of {0}: use . instead of , as decimal separator", "{0.key}");
    105105  fixAdd: concat("width=", replace(tag("width"), ",", "."));
Note: See TracChangeset for help on using the changeset viewer.