gitlab-glfm-markdown 0.0.18-x86_64-linux → 0.0.19-x86_64-linux

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: 56c1c8897b1eaceb184998748cb8c538e32454c0694a9cbcae22a09f39242921
4
- data.tar.gz: d86dce2ef9b3bf0e3eff13b1bd918fe7321298ebddadc36c407ed500d84561c2
3
+ metadata.gz: a97e76a9687cf4206e76332f6589facaf2ac36d471f0e6f453622371bd263c25
4
+ data.tar.gz: 36efe52604c378d78050853cc18971dd7ba31e695e7904b694ee9a34da97baf5
5
5
  SHA512:
6
- metadata.gz: 3fe4280e41dee6bc39358b31cc848825725bd0cdb50fe5e22106a6d5d67dd59592b98e54b41c75e2b77026c7ff68b503d001b0b0ce589373028cb6428e3272e8
7
- data.tar.gz: 731b275afa9838df87e88d519ca06f5130b3608e6023928d52fca9aa5d1cf13fd85c81b9cf4c05f2df4eec719de1aa23a1fdec9486d561a2c46f30a639dade3e
6
+ metadata.gz: 725ee1d6e54d3d5e117fd09e5a13d0c77086a48e2edd25af0a5387279b751ce3e5989c41842610d9e5b02f13ffbd80c45cafb7fa8b657fb52d67164e3f517f90
7
+ data.tar.gz: cf0e44198eacb6b176e782b2009340dd291c14933acd357691e6127cda3eec8d3e0d74eb4ce1a66d664cf606b351e9fb2c0acf0567b32aef9e48b51eff5ee13f
data/Cargo.lock CHANGED
@@ -386,7 +386,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
386
386
 
387
387
  [[package]]
388
388
  name = "glfm_markdown"
389
- version = "0.0.18"
389
+ version = "0.0.19"
390
390
  dependencies = [
391
391
  "clap",
392
392
  "comrak",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "glfm_markdown"
3
- version = "0.0.18"
3
+ version = "0.0.19"
4
4
  edition = "2021"
5
5
  authors = ["digitalmoksha <bwalker@gitlab.com>"]
6
6
  description = "GitLab Flavored Markdown parser and formatter. 100% CommonMark-compatible. Experimental."
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GLFMMarkdown
4
- VERSION = '0.0.18'
4
+ VERSION = '0.0.19'
5
5
  end
data/lib/glfm_markdown.rb CHANGED
@@ -37,8 +37,9 @@ module GLFMMarkdown
37
37
  raise TypeError, 'options must be a Hash' unless options.is_a?(Hash)
38
38
 
39
39
  default_options = options[:glfm] ? GLFM_DEFAULT_OPTIONS : {}
40
+
41
+ # if you need to modify `options`, use `.merge` as `options` could be frozen
40
42
  options = options.merge(unsafe: true) if options[:tagfilter]
41
- options[:experimental_inline_sourcepos] = options[:sourcepos] if options[:sourcepos]
42
43
 
43
44
  render_to_html_rs(markdown, default_options.merge(options))
44
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-glfm-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Brett Walker