jekyll_pre 1.1.6 → 1.1.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: 342dc6a4bc2860320f78fa197b5c8543ce387f6a4ab848133bdedae1cb3b12a9
4
- data.tar.gz: 06bb60d730294296d468e0191e77fb0679427f35ec635121fa0c45d112ced8c9
3
+ metadata.gz: 97df025cc0565235360a3c42053ed994e5f33968145eef4008ae5b27a8df61fa
4
+ data.tar.gz: d8c1eba16949515b28e7696865307da8ba8e150d807f466f45e32322f1786576
5
5
  SHA512:
6
- metadata.gz: 5c0b0e9cd0a3d24e8f33834554e9ad5c306e8a679c230b0d2419fef758d329b17fed575bd02d68b8a146caf43b1709797252d123b9778deb7546d098a078d43b
7
- data.tar.gz: 5e3bdd70cbe31a57330cf8e820965f2f13382e378cbd612a890a08c67cf3ea2222fe01630caf58ec9bc6612e5421b7e03483d9417a56655bb2cf815477a6dff1
6
+ metadata.gz: 03bb017f63fe8cf7b780065f10e248727f4047c031c0c5d74f4a96721b95c3a4e30ba9288dc9ac176b5eeff4efb2a454e412da28a58a7489c246529fb2335ea4
7
+ data.tar.gz: 4fb5fd78dde215a9639438095fddae46c053f396edcd77cbd42662d9f3250c32928349effecc17688d377f2f09bab140f56c6af16cf061801d15667849ed2ebc
data/CHANGELOG.md CHANGED
@@ -1,7 +1,9 @@
1
+ ## 1.1.7
2
+ * Fixed `noselect` tag content handling.
3
+
1
4
  ## 1.1.6
2
5
  * Added `jekyll_plugin_support` as a dependency.
3
6
 
4
-
5
7
  ## 1.1.5
6
8
  * Added `class` and `style` options to allow for specifying additional CSS classes and inline CSS
7
9
  * Added `clear` option to ensure no images overlap the pre output
@@ -1,3 +1,3 @@
1
1
  module JekyllPreVersion
2
- VERSION = '1.1.6'.freeze
2
+ VERSION = '1.1.7'.freeze
3
3
  end
data/lib/jekyll_pre.rb CHANGED
@@ -87,7 +87,8 @@ end
87
87
  # Also, space before the closing percent is signficant %}"""
88
88
  class UnselectableTag < JekyllSupport::JekyllTag
89
89
  def render_impl
90
- text = @helper.argv.join(' ').strip
90
+ text = @argument_string
91
+ text = '$ ' if text.nil? || text.empty?
91
92
  "<span class='unselectable'>#{text}</span>"
92
93
  end
93
94
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_pre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-14 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll