citeproc-ruby 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac6faa0d4b7c9fbb585de0a7875bcb3bc3cbfa11
|
4
|
+
data.tar.gz: 350e69f4854a1f6f2063a9771d80af4e59383c6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fe846f5eb9e35a7ac30a7c476d5e895b8acafa022720d2fc84b7d30129d881da26e47a1d9d43e6ba288958664de6ffae405e9ad17e25be3e358e16050eb3f0a
|
7
|
+
data.tar.gz: 35f902e3037747ca3ee06a19b536780760e01941becb6a5e8df16e2c7d569f83eda3b6682f3d8e137077b40876751a6847bc9e676cc1de4c37c3d543a04169ef
|
@@ -137,7 +137,7 @@ module CiteProc
|
|
137
137
|
output.replace content_tag(config[:container], output, 'style' => css) if @css
|
138
138
|
end
|
139
139
|
|
140
|
-
def
|
140
|
+
def finalize!
|
141
141
|
# TODO find a better solution for this (strip tags?)
|
142
142
|
# For now make sure not to double encode entities
|
143
143
|
# by matching spaces before or after.
|
@@ -26,6 +26,11 @@ module CiteProc
|
|
26
26
|
expect(format.apply('Foo & BAR', node)).to eq('foo & bar')
|
27
27
|
end
|
28
28
|
|
29
|
+
it 'does not not apply casing to escaped entities' do
|
30
|
+
node[:'text-case'] = 'uppercase'
|
31
|
+
expect(format.apply('Foo & BAR', node)).to eq('FOO & BAR')
|
32
|
+
end
|
33
|
+
|
29
34
|
it 'escapes entities in affixes' do
|
30
35
|
node[:prefix] = '<'
|
31
36
|
node[:suffix] = '>'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citeproc-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citeproc
|