nexmo_markdown_renderer 0.9.0 → 0.9.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: c5f7ec6e1a0aa5cd9d02e330977fdf11cd56e30b655f9be0d358efa630a4b509
4
- data.tar.gz: c262fead10478978a755062747b2feb30514030b4c549d0ddacce0ebb0d3deb9
3
+ metadata.gz: 81cc4aad0e0e959c6e5c48d4ded1043bbd484801fa60f5d928f0715a8c7faf39
4
+ data.tar.gz: 80f21fe3c430da34d783c18270859ba19849114ed1c0b187fd8c4a88c0304190
5
5
  SHA512:
6
- metadata.gz: cc5bb2b5eb7c29a11eb2cb293ac1a048bb5dbf8c3bc33e6161a034ecd394ee065ebfe4e5b144eaffb14faa166851fc79108e3e65d2ae4bf4a6c0b1ff80cb00c1
7
- data.tar.gz: f5563a7ad92e6e46a31792bf57644cac31118d7b9ae3d0edcd7b20515dd7f3b95acd44a3d93716facbfbafd4f456210221b87bc5bcc3dda95960347f2a561424
6
+ metadata.gz: 4a3611e6b67f8855616768ecd88ff6cca7f8a3f5151a071637ab1e369ba042a91d5fb0d8896b3a53fcc56608106743fc39eaff7348305f6bf5d2771ca52b54c5
7
+ data.tar.gz: '09e3a7b5ad0f872aaef2f587d4d4e8aa43566b24d160db0f858d4d18ff2ab83790ba51b04bf6e51230a7669cda74e8ca7448d1b4ac5418cd0d19e3e90232aac5'
@@ -5,7 +5,7 @@ module Nexmo
5
5
 
6
6
  def code_snippet_body(lexer, body, options = {})
7
7
  <<~HEREDOC
8
- <pre class="#{prism_css_classes(lexer)}" data-lang="#{code_language_to_prism(lexer.tag)}" data-section="code" data-block="#{options[:block]}"><code>#{body}</code></pre>
8
+ <pre class="#{prism_css_classes(lexer)}" data-lang="#{code_language_to_prism(lexer.tag)}" data-section="code" data-block="#{options[:block]}"><code>#{body.chomp}</code></pre>
9
9
  HEREDOC
10
10
  end
11
11
 
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # :nocov:
2
2
  module Nexmo
3
3
  module Markdown
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
5
5
  end
6
6
  end
7
7
  # :nocov:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexmo_markdown_renderer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nexmo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: banzai