jekyll-microtypo 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll/microtypo.rb +1 -1
- data/lib/jekyll/microtypo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35daf7e2a18389a376afe03898f0bfd5e1c182bf3600d082ac2da5cfb5b9482c
|
4
|
+
data.tar.gz: f8dd966b216ac7a8cb31458cdc247b02681d08c4d7e54b5f1758f48da6caed8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5c676676d8ca512273a5e6c8a27478bc4efeba521e291a790a8b5918605637dc850825a486ed85f9c6a2f1f20d690a9db9f7cf3b67ab9ecef733dcce66c338b
|
7
|
+
data.tar.gz: e4419130bd095e9b84c04a8b785970f369462f263fd363ee18d8b04d686e3c12e8938eff43c8c03c6485511218470f5905dcf67b58ce7ec7c8559e43e3a9afe6
|
data/lib/jekyll/microtypo.rb
CHANGED
@@ -90,7 +90,7 @@ module Jekyll
|
|
90
90
|
|
91
91
|
def fix_microtypo_fr(input)
|
92
92
|
# Ordinals
|
93
|
-
input.gsub!(%r!(\s)(\d)
|
93
|
+
input.gsub!(%r!(\s)(\d+)(e|è)(r|me)?([\s.,])!, '\1\2<sup>\3\4</sup>\5')
|
94
94
|
|
95
95
|
# Num
|
96
96
|
input.gsub!(%r!n°\s*(\d)!, 'n<sup>o</sup> \1')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-microtypo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Schapira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
|
-
rubygems_version: 3.0.
|
128
|
+
rubygems_version: 3.0.6
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Jekyll plugin that improves microtypography
|