gitlab-glfm-markdown 0.0.18-aarch64-linux → 0.0.19-aarch64-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: 34c2ceb367576e459bc7c26b8175deafcb4716cca726fe3c7b0c755f3f5615f3
|
4
|
+
data.tar.gz: 13031140856b7b1e358d24cbc487a7f52ca09a3d82b45b7e8b173ae462d8fb7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78b453f2bdc30b145417fbb9ec0227503b32453b5efc8f869bd8d7c0ee5c8a94d76df26d58f5493f51b04b213bc102b9b390ecc1f49842db5594b0fa8d616c99
|
7
|
+
data.tar.gz: 20361a32a5b4576dd88b24e7b4e76301bc999b880f9938fee9acf355444826e5011f998b9d721e4c1385a4f78f294da45fd74e04724a5c1fad452ce12a20660a
|
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
|