jekyll-img-converter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-img-converter.rb +2 -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: df8f039526701afab32eccdb36979eca8232c8fd
|
4
|
+
data.tar.gz: 571559847df6865f7dbc47c077591195961ddfd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ef61dbfe6fdb342f812cb7fbf191d16124d66e13517004f5535ee5ff665ccc1c4421fa54fde42295fd400a18ebe89dbdc4d97906d008325aec607bce1302f44
|
7
|
+
data.tar.gz: 3f8e01801f396938981ce73e20054d44e256e8349b7266b6529bc8b5034fb6c40afa2d9d282a56900f32d941bebd3384d2b3bad5176b5aa5026b780d0b0c612b
|
data/lib/jekyll-img-converter.rb
CHANGED
@@ -14,7 +14,8 @@ module Jekyll
|
|
14
14
|
|
15
15
|
if (matchData)
|
16
16
|
style = matchData[2]
|
17
|
-
|
17
|
+
# puts matchData.to_s
|
18
|
+
stripContent = content.gsub(matchData.to_s,'')
|
18
19
|
imgTag += " alt=\"#{stripContent}\" style=\"#{style}\""
|
19
20
|
else
|
20
21
|
imgTag += " alt=\"#{content}\""
|