asciidoctor-mathematical 0.1.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor-mathematical/extension.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c9eceb9149c84c9d4de3fcd30ec5db93a90ca95
|
4
|
+
data.tar.gz: 4374551bae0d9848f18cf32dfef01c23dca8cb1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 543213a341d317439b96f453ef3ef0233f1d4b4e49f3998d58601bc1e35f02f10e2a7557ce643686de95f352ecfed27f38bcc891c02a1dfe23ebe4de5c11123c
|
7
|
+
data.tar.gz: 5994fba652c78d3f5a7358f266e5aabfd467e0c402ada7864833ab22cc7353d2311950695189f07f210cb8f2ee8a73fe00c55a4ba2250c79071d6039979b479f
|
@@ -98,7 +98,7 @@ class MathematicalTreeprocessor < Asciidoctor::Extensions::Treeprocessor
|
|
98
98
|
|
99
99
|
::IO.write img_file, eq_result[:data]
|
100
100
|
%(image:#{img_target}[width=#{eq_result[:width]},height=#{eq_result[:height]}])
|
101
|
-
} if (source.include? ':') && ((support_stem_prefix && (source.include? 'stem:')) || (source.include? 'latexmath:'))
|
101
|
+
} if (source != nil) && (source.include? ':') && ((support_stem_prefix && (source.include? 'stem:')) || (source.include? 'latexmath:'))
|
102
102
|
|
103
103
|
if source_modified
|
104
104
|
if block.context == :list_item
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-mathematical
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Stumm
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ruby-enum
|