gitlab-glfm-markdown 0.0.18-arm64-darwin → 0.0.19-arm64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: e50a049e32df599abb90b1f8bd59d1cb5a6e42e8d41b45b29e7e418e4133de15
|
4
|
+
data.tar.gz: 70da12f7865f6a0177fd19d06685ccec45cd9f1a1e135085c05b51ea65aad7f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f977354e412c09854d7b1fcbd17db68f93a2bb95c6b513613c992926aab73a0c0fc298ff9434b18645f93c55ebdda4a14c54dfbdcf1c6806321b2b3a1497a08e
|
7
|
+
data.tar.gz: e76a311bd15ddb758da618611c9516e6edb12b8cec635d9f028d224c628ebde5ee65cea6b6943d689a5a7f364686bb07ed31243b8f610b609785c8ae629420c9
|
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
|