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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll-img-converter.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2cf5292ae91bec7a8ba6ace357f43a9d6896db4
4
- data.tar.gz: b76bc32da86824e01fa739c108b94cc904e5f5c4
3
+ metadata.gz: df8f039526701afab32eccdb36979eca8232c8fd
4
+ data.tar.gz: 571559847df6865f7dbc47c077591195961ddfd0
5
5
  SHA512:
6
- metadata.gz: 7c9ce8fe7fda3ab350d77d9b569416df4208d2db33300aa1524d234010688bff7fdeb9ecc5d43c1dd069400ed4d34e37f5d43b80798441e340de2e13fd3fbcd6
7
- data.tar.gz: 3a4d538d9b695e9f145d1fdad64648690e1a64c2f47323369ae9797d21a604835ced961c810d931f1220f0acbdcbd1662d0822b9aa2f48c129d8e4b245fc16fc
6
+ metadata.gz: 7ef61dbfe6fdb342f812cb7fbf191d16124d66e13517004f5535ee5ff665ccc1c4421fa54fde42295fd400a18ebe89dbdc4d97906d008325aec607bce1302f44
7
+ data.tar.gz: 3f8e01801f396938981ce73e20054d44e256e8349b7266b6529bc8b5034fb6c40afa2d9d282a56900f32d941bebd3384d2b3bad5176b5aa5026b780d0b0c612b
@@ -14,7 +14,8 @@ module Jekyll
14
14
 
15
15
  if (matchData)
16
16
  style = matchData[2]
17
- stripContent = content.gsub(style,'')
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}\""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-img-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SungKwang Song