jekyll-scholar 5.10.2 → 5.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/scholar/defaults.rb +1 -0
- data/lib/jekyll/scholar/utilities.rb +2 -2
- data/lib/jekyll/scholar/version.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: f14a3f0820b75be1bc01d15f685ed9922e216c5c
|
4
|
+
data.tar.gz: 96d6e7fcf9ddafc3a7d7e59db5613df0051fd67b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01fa06cd9e6b98f37593b6ee4217e888bb9a9712318e412699d7d792779150d4d06d731f824ff3d2867d9416137bafe161795a10746146d52dcb2a35bec977c3
|
7
|
+
data.tar.gz: 351d73c57ec99a7fafd04286e2550fa9ec105ba5ecdae0acab39804bc69aae96924bbb4ec8d03f7a9c42a115cedb1b663c1ed189d06a15eaca0456df8fc81b54
|
@@ -38,6 +38,7 @@ module Jekyll
|
|
38
38
|
'bibtex_options' => { :strip => false, :parse_months => true },
|
39
39
|
'bibtex_filters' => [ :smallcaps, :superscript, :latex ],
|
40
40
|
'bibtex_skip_fields' => [ :abstract, :month_numeric ],
|
41
|
+
'bibtex_quotes' => ['{', '}'],
|
41
42
|
|
42
43
|
'replace_strings' => true,
|
43
44
|
'join_strings' => true,
|
@@ -498,7 +498,7 @@ module Jekyll
|
|
498
498
|
e['type'] = entry.type.to_s
|
499
499
|
|
500
500
|
if entry.field_names(config['bibtex_skip_fields']).empty?
|
501
|
-
e['bibtex'] = entry.to_s
|
501
|
+
e['bibtex'] = entry.to_s({ quotes: config['bibtex_quotes'] })
|
502
502
|
else
|
503
503
|
tmp = entry.dup
|
504
504
|
|
@@ -506,7 +506,7 @@ module Jekyll
|
|
506
506
|
tmp.delete name if tmp.field?(name)
|
507
507
|
end
|
508
508
|
|
509
|
-
e['bibtex'] = tmp.to_s
|
509
|
+
e['bibtex'] = tmp.to_s({ quotes: config['bibtex_quotes'] })
|
510
510
|
end
|
511
511
|
|
512
512
|
if raw_bibtex?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-scholar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.10.
|
4
|
+
version: 5.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|