esvg 2.8.6 → 2.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/esvg/svg.rb +1 -1
- data/lib/esvg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 024f0bbd1df2c2dbd045bd632801f1160bb85317
|
4
|
+
data.tar.gz: 555c4cdfedee44c6fb56ef8f56d35fa3dbe0b980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70387215bb00af1982291c9163a9c2f769aa744002d103f9307dc6cbbfb3df261ac452452654281f2b17ae03646774057dba985d2ef19fbc7a1696b5dbac18f
|
7
|
+
data.tar.gz: 97e83f19a08a193cff6192398795515b83545713831b094759479364e24f0cda827b7abe547a9c47a05887a75ef3a500229eed067d59cfa913ded52886ba88b1
|
data/CHANGELOG.md
CHANGED
data/lib/esvg/svg.rb
CHANGED
@@ -361,7 +361,7 @@ module Esvg
|
|
361
361
|
symbols << prep_svg(name, data[:content])
|
362
362
|
end
|
363
363
|
|
364
|
-
symbols = optimize(symbols.join).gsub(/class=/,'id=').gsub(
|
364
|
+
symbols = optimize(symbols.join).gsub(/class=/,'id=').gsub(/svg/,'symbol')
|
365
365
|
|
366
366
|
%Q{<svg id="esvg-symbols" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none">#{symbols}</svg>}
|
367
367
|
end
|
data/lib/esvg/version.rb
CHANGED