markdown_presenter 0.5.5 → 0.5.6

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/lib/markdown_presenter.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfb5d4d8700616ded31bb0c006989145b4e5b822
4
- data.tar.gz: 6c1726b856322d8f1f4992a6e046b107681d5e7c
3
+ metadata.gz: bda859ef831ae64cf8677cbe10e52739a14cb424
4
+ data.tar.gz: 3e01651fb2dc647ff29f67144909127c00557cad
5
5
  SHA512:
6
- metadata.gz: 065087420e7144fb06aff793c848890a553ae91404da4447e40969636d89d3248f99ac9af1ec882941b18f12650027c02fc986f0ea6d515a780386db60c3cec9
7
- data.tar.gz: 97a77c2c26b6ed22adede4d5340649ad4aeb69910a1a442f8099c1555a6730547ef28371427f1777ca6f4238aa72f6a02aaf95d920b07574dfe141f738a5e68b
6
+ metadata.gz: 460f24c873c209f752d1dc4df60c88166b176eefdd54257981410c4c4bc55bbee0ddf9c5b7d9ce26b101aa73061e13c92fe1a34a166544747f6dc356e718fc0c
7
+ data.tar.gz: 58854630b08bce791b407307ac7eb66e6a554683b69ea69d5b6f2ea4074187e3c4af5fcea78413864dadb58d298d57c8b9cb0a584d6b54883529dc5deda46667
@@ -13,7 +13,8 @@ end
13
13
 
14
14
  def content_of filename
15
15
  if filename.end_with? ".md"
16
- Kramdown::Document.new(File.read(filename)).to_html
16
+ document = Kramdown::Document.new(File.read(filename), parse_block_html: true, parse_span_html: true)
17
+ document.to_html
17
18
 
18
19
  elsif filename.end_with? ".html"
19
20
  require 'nokogiri'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Tanguay-Carel