asciidoctor-bibtex 0.4.0 → 0.4.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-bibtex/bibextension.rb +3 -1
- data/lib/asciidoctor-bibtex/version.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: 89fbb2a41ee997771d88259c171820124f17653e1c98ae047713a6fae009c2bd
|
4
|
+
data.tar.gz: 2b9016dc63a94c2e2127977d3af7771daa92e8e07fc68043b7af609e8c6a7907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 418685ec3a7539d86f932fff5d206b688cd42cbf8305f62d2aa7772fcfce7550ec4c2b7c3d1d1c2459623e046ce72bbe4bcbbd7babf9867513168cc5fb92aa2e
|
7
|
+
data.tar.gz: 757ad6e419e4067800ecfa0fec230b5d8d5e99de8af2710d5cd7b955daf05bd826b43d8347031824a5f01c0a0476a06539c82e51ae5daa5a456802bad5b29460
|
@@ -117,9 +117,11 @@ module AsciidoctorBibtex
|
|
117
117
|
block.instance_variable_set :@text, line
|
118
118
|
else
|
119
119
|
block.lines.each do |line|
|
120
|
+
tmp = line.clone
|
120
121
|
processor.citations.retrieve_citations(line).each do |citation|
|
121
|
-
|
122
|
+
tmp = tmp.gsub(citation.original, processor.complete_citation(citation))
|
122
123
|
end
|
124
|
+
line.replace tmp
|
123
125
|
end
|
124
126
|
end
|
125
127
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-bibtex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zhang YANG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|