jekyll-open-sdg-plugins 1.0.0.rc14 → 1.0.0.rc15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59d6f3eaabd828643b02677cb134b0bcab05de421949403016d627e818c1475b
4
- data.tar.gz: 3954c2d68019bd52efde4a9416b19fb150f6506bcd6ec9593f6985c2ff228239
3
+ metadata.gz: 072910bd8cf739ae148eaa7591424fea054852c673a5f8aa1b7b321b24819850
4
+ data.tar.gz: 9a48d94efc537e11a6136bab73af0b02e669abe34f20056a3b759a2fab36de4a
5
5
  SHA512:
6
- metadata.gz: b614025cb47c5282a3aaae79d53c263db3c06b075501774e80f2712c58a6f9c3319b896ed46ca081bdd3cc39af24152f9129bb382c8278836125c61bcac62d65
7
- data.tar.gz: b9793d65fbf4cdff3478666159378f71f04a1e8339d8c84a6be8b668f222612aea227cc93163345d09223ab38c74e99953cbf4f1876291886b4d739c3b3848aa
6
+ metadata.gz: ea9b9cc51f58f611e6ebb1b21b59ca111d75653ca6ffbbcb682d30442cf3c67e9270cfde2e0211bfea5b506288eac45862ea47154e84a36f377507719815adb5
7
+ data.tar.gz: ef3b3fd246b58b944c51abc7f31723361f28cd3e92cae666335ee2305c8032e7f1c32a58883905180a4f954e325dca2a890fe62f95f3e903a04be19c7c5aded7
@@ -10,6 +10,12 @@ module JekyllOpenSdgPlugins
10
10
 
11
11
  # Helper function to prepare content for the search index.
12
12
  def prepare_content(site, content)
13
+
14
+ # Handle nil content.
15
+ if !content
16
+ content = ''
17
+ end
18
+
13
19
  # First compile any Markdown.
14
20
  converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
15
21
  content = converter.convert(content)
@@ -1,3 +1,3 @@
1
1
  module JekyllOpenSdgPlugins
2
- VERSION = "1.0.0.rc14".freeze
2
+ VERSION = "1.0.0.rc15".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-open-sdg-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc14
4
+ version: 1.0.0.rc15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brock Fanning
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: 1.3.1
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.7.6
84
+ rubygems_version: 2.7.1
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Jekyll plugins for use with the Open SDG platform