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 +4 -4
- data/Cargo.lock +1 -1
- data/ext/glfm_markdown/Cargo.toml +1 -1
- data/lib/glfm_markdown/2.7/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.0/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.1/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.2/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.3/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/version.rb +1 -1
- data/lib/glfm_markdown.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a97e76a9687cf4206e76332f6589facaf2ac36d471f0e6f453622371bd263c25
|
4
|
+
data.tar.gz: 36efe52604c378d78050853cc18971dd7ba31e695e7904b694ee9a34da97baf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 725ee1d6e54d3d5e117fd09e5a13d0c77086a48e2edd25af0a5387279b751ce3e5989c41842610d9e5b02f13ffbd80c45cafb7fa8b657fb52d67164e3f517f90
|
7
|
+
data.tar.gz: cf0e44198eacb6b176e782b2009340dd291c14933acd357691e6127cda3eec8d3e0d74eb4ce1a66d664cf606b351e9fb2c0acf0567b32aef9e48b51eff5ee13f
|
data/Cargo.lock
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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
|