jekyll-wns 4.2.5 → 5.0.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e18a05dc1af9b21e38c0e33854624b72b1dece3fa94005d89666e55ff3728172
|
4
|
+
data.tar.gz: a82c6798777cbecb303b2918cfcc08d2579ae380f373a9b2d2dd49f793365483
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07d01c320685ecab19c44c1c1e208446e59b818f4f962ec37d05a9a955b830fa6fed97b4bdf0036e3cbea5c463df700b142f17aee099807f8304a62c849fd4f5
|
7
|
+
data.tar.gz: e8e9096054e7a6b767ab2ad1a428119534b4e0e92571303a343a0a788d970a63fc5953dc00ff4fa0ae6b592fcd6ae652a4dccbfceb288992c725354395fadaeb
|
data/jekyll-wns.gemspec
CHANGED
@@ -9,7 +9,7 @@ module WNS
|
|
9
9
|
|
10
10
|
def self.label_pronounciation!(doc)
|
11
11
|
wns = doc.site.config["wns"] || {}
|
12
|
-
labels = wns["label_pronounciation"] ||
|
12
|
+
labels = wns["label_pronounciation"] || []
|
13
13
|
for i in (0..(labels.length()) - 1) do
|
14
14
|
doc.content = doc.content.gsub(Regexp.new("\b(#{labels[i]["term"]})\b"), "<span aria-label='#{labels[i]["pronounciation"]}'>\\1</span>")
|
15
15
|
end
|
@@ -8,6 +8,8 @@ module WNS
|
|
8
8
|
|
9
9
|
def render(context)
|
10
10
|
case @text
|
11
|
+
when "ice"
|
12
|
+
'<p style="text-align:center" data-mce-style="text-align:center" aria-hidden="true">❄ ❅ ❆ ❄ ❅ ❆ ❄ ❅ ❆ ❄ ❅ ❆</p>'
|
11
13
|
when "leaves"
|
12
14
|
'<p style="text-align:center" data-mce-style="text-align:center" aria-hidden="true">🙐 🙑 🙓 🙒 🙐 🙑 🙓 🙒 🙐 🙑 🙓 🙒</p>'
|
13
15
|
when "wave"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-wns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thai Chung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-mp3info
|