jekyll_include_plugin 1.0.3 → 1.0.4
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jekyll_include_plugin/utils.rb +1 -1
- data/lib/jekyll_include_plugin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48c00a3a0b4212b8a0cce6baaeb7456757ba3beace6822c49bc9f73f6dfc99cb
|
4
|
+
data.tar.gz: 5c898ce7917cdb6d5625cf2a0f98ff42673a6f3a3e729e122513762da9b50e9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4237d7094f118b514590c946e37827a2caf98da9c61b65ab2f299fadb32ec37e3571e460f8e8b6a8068f90ae5bb97e743b1a645258d1e35974f4ea3c87c079d3
|
7
|
+
data.tar.gz: 3bf99cf6bb7871453d682ef91774fc862e2b1b3d5652b6c31d3232bed074aa2499f720052d480da9b112739465225e0c13d5158128c16f3e8df438377c2c9845
|
data/Gemfile.lock
CHANGED
@@ -42,7 +42,7 @@ module JekyllIncludePlugin
|
|
42
42
|
abort("End of the snippet '#{snippet_name}' has not been found.") unless snippet_end_found
|
43
43
|
abort("Snippet '#{snippet_name}' appears to be empty. Fix and retry.") if snippet_content.empty?
|
44
44
|
|
45
|
-
first_line_indent = %r!^\s*!.match(
|
45
|
+
first_line_indent = %r!^\s*!.match(snippet_content)[0]
|
46
46
|
return "#{first_line_indent}...\n#{snippet_content}"
|
47
47
|
end
|
48
48
|
|