sutty-liquid 0.12.2 → 0.12.3

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: 3557ab912b1f0776505a57cd9e59409ca793808637b30d154de28e679567494a
4
- data.tar.gz: 0eb8c1ffc604b2dbd5bfee83a44ee4afb0b3af7e33e333d11465f34814e207bb
3
+ metadata.gz: 7e463e9a2087318c61a1c75a3fa982efc7e6ab28d2ecff0840717626c565d91e
4
+ data.tar.gz: 4f41f016515c14881d5b830f618d9a58acb46aa14db859063d1c927b1500285b
5
5
  SHA512:
6
- metadata.gz: 942fe8161087035e4b548f55b44f0f378dcc28552e4eb57591a4f00f52cbf611956fea16916ad359b4f314bc43715606cb1dc136edc469b08a0c6071afac7aa5
7
- data.tar.gz: a28ca51eb49ccf9f14c6e622c95ee6be9f54fa953843ed88f4bf09affbdd497f760632846617b8e6997ef85e4d5fd9b424c7da490b5d7c43845dcf458127d7df
6
+ metadata.gz: 8b9100f604eed2b22eb61c8b2af0d3443daaa58d23a4623ca1b187049f3582049389d09389dc99e589c310427ddec0c4f1e332a06d9d3615dd5eadfa04849555
7
+ data.tar.gz: f9178f4893380a6b3eeb74621781c6a4c7a9c184d3446df438b97b4d87c09c055223ffbf873196961596917817d7dcb14ced5f00501b80b48475c3a286788d51
@@ -73,7 +73,8 @@ module Jekyll
73
73
  def component_escape(input)
74
74
  require 'addressable'
75
75
 
76
- Addressable::URI.encode_component input.to_s, Addressable::URI::CharacterClasses::UNRESERVED
76
+ @@component_escape ||= {}
77
+ @@component_escape[input.to_s] ||= Addressable::URI.parse(input.to_s).normalize.to_s
77
78
  end
78
79
 
79
80
  # Sanitizes HTML. By default follows Sutty CMS allowlist.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-liquid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-28 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_blank