Changeset 27304 in osm


Ignore:
Timestamp:
2011-12-22T02:07:27+01:00 (13 years ago)
Author:
donvip
Message:

JOSM tag2link plugin : add contact namespace for website

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tag2link/resources/tag2link_sources.xml

    r26982 r27304  
    2323    <source name="Common">
    2424        <rule>
    25             <condition k="website" />
     25            <condition k="(contact:)?website" />
    2626            <link name="View website" href="%v%" />
    2727        </rule>
     
    3131        </rule>
    3232        <rule>
    33             <condition k="email" v="[^@]+@[^@]+" />
    34             <link name="Send Email" href="mailto:%v%" />
    35         </rule>
    36         <rule>
    37             <condition k="contact:email"  v="[^@]+@[^@]+" />
     33            <condition k="(contact:)?email" v="[^@]+@[^@]+" />
    3834            <link name="Send Email" href="mailto:%v%" />
    3935        </rule>
Note: See TracChangeset for help on using the changeset viewer.