richer_text 0.4.0 → 0.5.0

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: 0e556adef8ae4899aaf040aeb3c66ec608b3626530f8b8df100d454dcfa00787
4
- data.tar.gz: '0353060393bf4d90744ec357f3791681d8484b0ee4d096086032018b8cfac6bb'
3
+ metadata.gz: bc9681628df0cea14882f90ddc28774653a87d2d7db1ef38049bcbc3e67ddb49
4
+ data.tar.gz: e99f8e2774aede03570dd03ec2f995f6b3e8ab46a9c7f4eedcdd7527fde69995
5
5
  SHA512:
6
- metadata.gz: 8ba88bc3470365608710e8f764945e631cae368437e4524c2bc591ca04b128e6fc0ef5f343076c5983608e37299b2fffb306539a46f9c4359db4f716f0225029
7
- data.tar.gz: 6b77c7fdb84a7310ceb48e7f98205ec58e8b2089970249e7f610647708716fcb65ae19ae1471d731f34673670211226a9bad510f4b03241cf9f1d8eb1b6d6338
6
+ metadata.gz: 93038afde3fae59acedbdd62d1879cdb7825e2d134d8aa520ae620a66619de0b32a594e5f34114e7dac66566f66523150d689a39500968076317313f15f00267
7
+ data.tar.gz: 176ea00a46823251b32ddcb0cd8e9a59eb00eb6f452a2c7c98b43a797bf95e683f4d6df99452ad903ef5c5d6bc2fadf3ff9174f19a31476d07a44455d00b4dd0
@@ -1,3 +1,3 @@
1
1
  <div class="richer-text">
2
- <%= sanitize(content.to_html, tags: %w(div img h1 h2 blockquote s del strong i em br pre code ol ul li table tbody th td tr p), attributes: %w(id class style data-color src alt colspan rowspan)) %>
2
+ <%= sanitize(content.to_html, tags: %w(a div img h1 h2 blockquote s del strong i em br pre code ol ul li table tbody th td tr p), attributes: %w(id class href style data-color src alt colspan rowspan)) %>
3
3
  </div>
@@ -1,3 +1,3 @@
1
1
  module RicherText
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: richer_text
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrea Fomera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-05 00:00:00.000000000 Z
11
+ date: 2023-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails