asciidoctor-mathematical 0.3.0 → 0.3.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fd0033c90a779c003b2358774f5e9801eb8edc30f24407eca58c1f5239d322a
|
4
|
+
data.tar.gz: db842b6dee4c6ad6dbc15dee99321d721b3f34238b473ee2d497d1ddaaca6b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8496913a5bf4be427950d5892f1b33910a56c4e35139a448ce6490ac38e19f429039465cfc35ae940ce129757394410698415e6d7c1fc933df39c28482951713
|
7
|
+
data.tar.gz: c9607a682a7e4074d6ee509170202ec4e39909eacc8213714b355547de62b61ff43b217a3084e541249ebfa1c461edb9cac9fbec3b9db2947e095f6c7826c21f
|
@@ -132,7 +132,7 @@ class MathematicalTreeprocessor < Asciidoctor::Extensions::Treeprocessor
|
|
132
132
|
|
133
133
|
source_modified = false
|
134
134
|
# TODO skip passthroughs in the source (e.g., +stem:[x^2]+)
|
135
|
-
text.gsub
|
135
|
+
text = text.gsub(stem_rx) {
|
136
136
|
if (m = $~)[0].start_with? '\\'
|
137
137
|
next m[0][1..-1]
|
138
138
|
end
|
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.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Stumm
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
rubygems_version: 3.0.
|
110
|
+
rubygems_version: 3.0.4
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Asciidoctor STEM processor based on Mathematical
|