jekyll-spaceship 0.8.6 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f3d45fd1335dcec7d9c05900219920869adaa418fd72b29b3fde3fcdfafc14d
4
- data.tar.gz: 2e1fc457586b11bfa8d9fc215ba6c870a3f09ea85a78872d72a8692eeb12abcf
3
+ metadata.gz: c04f1aada8ea0a1dde37b51418f843e1d163e1dd7230cf602a0f7caf5d787b19
4
+ data.tar.gz: 263b035717beeedaad26f42c896a2265b3be4e9bf977b2883e23d8b678f280db
5
5
  SHA512:
6
- metadata.gz: 5c2b6900e10b029dbedad643eeb19c4d7a8332003e0bf8079af7c792bef622bc04ff550194e82d1dde365fd54fcd3f4f3997e25c357fac149db1f7eaca6cb414
7
- data.tar.gz: 9a3b141d78a7d22aceea2e7ca8545c44a070303e4241db7f56adc301917d34bc91ff6dfb5e09df7dbf8a1739cb6c2f4a1c36c5f73fbc1a9884667350789c9bba
6
+ metadata.gz: 566854587a4dea0b991d755467dd402cc39a86235636c9e95c1fbd042ae6ee7bc28bd26ffd99b0d12a8e56ffcff469193bab5008d319e8408949382dec162bdb
7
+ data.tar.gz: c79139b158834943705be273a533beef706d028fcbff9f339f08aba027ec85a872c73a522679ab2b69d09c82f6c7bd8f8f551f33bfd369040b510b3db36859c5
data/README.md CHANGED
@@ -571,17 +571,17 @@ Here are some examples for span IALs:
571
571
  Here is an example for custom table cell with IAL:
572
572
 
573
573
  ```markdown
574
- {:color-style: style="background: black;" }
575
- {:color-style: style="color: white;" }
576
- {:font-style: style="font-weight: 800;" }
574
+ {:color-style: style="background: black;"}
575
+ {:color-style: style="color: white;"}
576
+ {:text-style: style="font-weight: 800; text-decoration: underline;"}
577
577
 
578
578
  |: Here's an Inline Attribute Lists example :||||
579
- | ------- | ------------------------- | -------------------- | ----------- |
579
+ | ------- | ------------------ | -------------------- | ------------------ |
580
580
  |: :|: <div style="color: red;"> &lt; Normal HTML Block > </div> :|||
581
581
  | ^^ | Red {: .cls style="background: orange" } |||
582
582
  | ^^ IALs | Green {: #id style="background: green; color: white" } |||
583
583
  | ^^ | Blue {: style="background: blue; color: white" } |||
584
- | ^^ | Black {: color-style font-weight} |||
584
+ | ^^ | Black {: color-style text-style } |||
585
585
  ```
586
586
 
587
587
  Code above would be parsed as:
@@ -69,7 +69,7 @@ module Jekyll::Spaceship
69
69
  end
70
70
 
71
71
  def self.ext(page)
72
- ext = page.path.match(/\.\S+$/)
72
+ ext = page.path.match(/\.[^.]+$/)
73
73
  ext.to_s.rstrip
74
74
  end
75
75
 
@@ -19,7 +19,9 @@ module Jekyll::Spaceship
19
19
  if references.size > 0
20
20
  content.scan(/[^\n]*(?<!\\)\|[^\n]*/) do |result|
21
21
  references.each do |key, val|
22
- replace = result.gsub(/\[([^\n]*)\]\s*\[#{key}\]/, "[\1](#{val})")
22
+ replace = result.gsub(
23
+ /\[([^\n\]]*?)\]\s*\[#{key}\]/,
24
+ "[\1](#{val})")
23
25
  next if result == replace
24
26
  content = content.gsub(result, replace)
25
27
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Spaceship
5
- VERSION = "0.8.6"
5
+ VERSION = "0.8.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-spaceship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeffreytse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-25 00:00:00.000000000 Z
11
+ date: 2020-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll