mumukit-content-type 1.4.0 → 1.4.1

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: 4fdf9d6b5af5bcdb4de689b9a5489880aca70a4b9dabd7343e3c7510026b4149
4
- data.tar.gz: 143fba3f1f5cc5e9cd4410019d57a984bc3d1e12e20341bbb608dcf007b3833a
3
+ metadata.gz: 32ab8dd3b3892c4d70842eedbcb58bcf047966ff9dbce957a899c60c65a15eed
4
+ data.tar.gz: 26c5294519f37df42bf3dd284cb65b89767718d8674acbc0c42ed2a8195e9472
5
5
  SHA512:
6
- metadata.gz: dd20954abd94ceaceb2d6a9ff2310d843a1410a5b94b8d7352d06dd62330cca4469626380ee7f1d581dfdc549d3be35f8b612b204e0d8ffb8db8238170006c0a
7
- data.tar.gz: 646b6a9b35e54dbd33de377bb08b386a4e6c2d1fbfdfa0d2a926a9b402625e6b110ad723d31736f59d9765921d0bc396ff2c0a34ce11b438e52348da0f9c2ad9
6
+ metadata.gz: 4cef78467a26706d157ba904f4b0c7dc3d418666a8cae1bf36f54c8c30c340237d83da891d20bf391de46032457176be1212075ee05d87b87a2bcf9dc16abc7e
7
+ data.tar.gz: b6db6f4ab511126616a7375ffefad7b0c817fbbfdffae7027577176906290c8c8b2a5c5d9be546843acf2f026698e021e6efa5a671bc0680466863ca7fe379e1
@@ -9,7 +9,7 @@ module Mumukit
9
9
  end
10
10
 
11
11
  def to_html(content)
12
- Mumukit::ContentType::Sanitizer.sanitize(htmlize content).html_safe
12
+ Mumukit::ContentType::Sanitizer.sanitize(htmlize content)&.html_safe
13
13
  end
14
14
  end
15
15
 
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module ContentType
3
- VERSION = '1.4.0'
3
+ VERSION = '1.4.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-content-type
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-28 00:00:00.000000000 Z
11
+ date: 2018-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler