Changeset 7669 in josm
- Timestamp:
- 2014-10-29T15:49:19+01:00 (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geticons.pl
r7668 r7669 30 30 { 31 31 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*["']([^+]+?)["']/) 40 33 { 41 34 ++$icons{$1}; -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r7596 r7669 728 728 * Percent-encode a string. (See https://en.wikipedia.org/wiki/Percent-encoding) 729 729 * This is especially useful for data urls, e.g. 730 * <code> icon-image:concat("data:image/svg+xml,", URL_encode("<svg>...</svg>"));</code>730 * <code>concat("data:image/svg+xml,", URL_encode("<svg>...</svg>"));</code> 731 731 * @param s arbitrary string 732 732 * @return the encoded string
Note:
See TracChangeset
for help on using the changeset viewer.