Changeset 7669 in josm


Ignore:
Timestamp:
2014-10-29T15:49:19+01:00 (10 years ago)
Author:
stoecker
Message:

remove two false icon detections

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/geticons.pl

    r7668 r7669  
    3030    {
    3131      next if $l =~ /NO-ICON/;
    32       if($l =~ /src\s*=\s*["'](.*?)["']/)
    33       {
    34         my $img = "styles/standard/$1";
    35         $img = "styles/$1" if((!-f "images/$img") && -f "images/styles/$1");
    36         $img = $1 if((!-f "images/$img") && -f "images/$1");
    37         ++$icons{$img};
    38       }
    39       elsif($l =~ /icon\s*[:=]\s*["']([^+]+?)["']/)
     32      if($l =~ /icon\s*[:=]\s*["']([^+]+?)["']/)
    4033      {
    4134        ++$icons{$1};
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r7596 r7669  
    728728         * Percent-encode a string. (See https://en.wikipedia.org/wiki/Percent-encoding)
    729729         * This is especially useful for data urls, e.g.
    730          * <code>icon-image: concat("data:image/svg+xml,", URL_encode("&lt;svg&gt;...&lt;/svg&gt;"));</code>
     730         * <code>concat("data:image/svg+xml,", URL_encode("&lt;svg&gt;...&lt;/svg&gt;"));</code>
    731731         * @param s arbitrary string
    732732         * @return the encoded string
Note: See TracChangeset for help on using the changeset viewer.