gitlab-glfm-markdown 0.0.18-x86_64-darwin → 0.0.19-x86_64-darwin
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.bundle +0 -0
- data/lib/glfm_markdown/3.0/glfm_markdown.bundle +0 -0
- data/lib/glfm_markdown/3.1/glfm_markdown.bundle +0 -0
- data/lib/glfm_markdown/3.2/glfm_markdown.bundle +0 -0
- data/lib/glfm_markdown/3.3/glfm_markdown.bundle +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: c41dedb3478d8ca20a9e318c72cb30cc6fa73f647e6eccc5f78607c40252206f
|
4
|
+
data.tar.gz: 9dcc2da8bdccf892b859afc50515221cc0d8a645edf5014c5eef9916f8682fa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc0690f3eabc3e4a57590cb1cd4e07cd991c5344c6b550a0d83a00b61f76aeb14c2e51cad11de1cafd6640f74d21e7d2cfc55b7a9ecf6331c9cdb35593ae0713
|
7
|
+
data.tar.gz: d0a3f2adf7e13af6514c63df7409eae00c515d2c60a8117093630a63d1f7809b46c3cc65b408e2bb80f803e0f0973a6ba7b868fca2d16f2ee9d2f90afb380d15
|
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
|