storyblok-richtext-renderer 0.0.7 → 0.0.9

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: a0434d76180ca753632cfcb0397e5891d40b0f2b02c47a55b56ae914d38ec2ab
4
- data.tar.gz: a342fe4acbcb83b28d37487cdff0e46f44753a7f8f740c47339bd7751875e032
3
+ metadata.gz: 1adac0032e163d1a3b873d5f6c98595a9da37ea42a0812de3c7bda7fd1c7e588
4
+ data.tar.gz: 1657937fea5c6331340316416053a133e4e685dae74a13c904116b251ba2411e
5
5
  SHA512:
6
- metadata.gz: b2779bcd262dc381c6454f5edbeb8de19f60e20ff1611d7756af07c1fef011a420f5d47b5c24f57531e6517565aedb3299fa27cbed66a67ca3f874d7515eaa12
7
- data.tar.gz: d5949e45bc9a4b1c44bfa5bb072b406c54a3a964d1f00d7ac9b6ed17dae0dfa96a44270d81fb9b0d7e1e298a99719170b60c85fa45bb88ad6424fc6ed063aa88
6
+ metadata.gz: 416f6e3e2b6357471a8efba6ab770a1f38256154ae1139710d02f38f944a0051db074a72409f62d23cfae3d646ceb23460bf54b1c6ef18d4193edb571e6113da
7
+ data.tar.gz: 4acfa843ead6ad14d712601ec0d482fab6d9b46cd41ccff7d249b0ed664133a40e85100ad44d3400ca00f72a2599a018a57f0fd8e21cc739d31408fc7c301556
@@ -19,7 +19,7 @@ module Storyblok::Richtext
19
19
  attrs['href'] = "mailto:#{emailContainer}"
20
20
  end
21
21
 
22
- if attrs['custom']
22
+ if attrs['custom'].is_a?(Hash)
23
23
  for item in attrs['custom'] do
24
24
  attrs[item[0]] = item[1]
25
25
  end
@@ -1,6 +1,6 @@
1
1
  module Storyblok
2
2
  module Richtext
3
3
  # Gem Version
4
- VERSION = '0.0.7'
4
+ VERSION = '0.0.9'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storyblok-richtext-renderer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Storyblok (Alexander Feiglstorfer)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler