card-mod-markdown 0.2.1 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/set/type/markdown.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab5546ef995e4d2d630e9c07a6b2b92e8890c0cdf77461a6c1b015e01cd2c192
4
- data.tar.gz: 9c1ffdd90c826ddc88925d1ef86994eced475844d5bed93ed35ee9e82a49bdcf
3
+ metadata.gz: 0bb459f4051c03636d1ae1d02670b61c95d314086bd08e5f6656bd61ee0b7e83
4
+ data.tar.gz: 9d9fcbab02b820ec9b01f69509c407271e90d480035d82bc4018e4c5f20910bc
5
5
  SHA512:
6
- metadata.gz: 395419dffaae8dbcc15f3dea3b7470f87bdf64148c529caa2b6a957a5636c8e263281c1d0f04c26e195752e5093a1bdfd0faae2d8af030cf6e4a91686be1aa7f
7
- data.tar.gz: 89e9b33f35091adc13469b23de7ca236bc21f0bfa0549d702149e28b9bb4e1d4fdc309a1885c7e9bcb12c276482513f14de455e1b7934f26c0c7e5196ec8cb32
6
+ metadata.gz: eef88719660a52d555fe0cc758fa6c14e8ac5d7f23b4ef851aebc3e05378b2ca2fa9e1d709459ae7f94a60194f44814504f0372187bbbffd96bcc4e263e77e50
7
+ data.tar.gz: 37ca2bf508881038af11436e0ba12d0b0ec4db9ec685813879bdb2545c867ac969a282bb49adfffc51c9d53bb7e879450ebe64b5427179bc6ce27b12a41aab45
@@ -2,7 +2,9 @@ require 'kramdown'
2
2
 
3
3
  format :html do
4
4
  view :core do
5
- Kramdown::Document.new(card.content).to_html
5
+ safe_process_content do |content|
6
+ Kramdown::Document.new(content).to_html
7
+ end
6
8
  end
7
9
 
8
10
  def editor
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-06-05 00:00:00.000000000 Z
12
+ date: 2019-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: kramdown