jekyll_href 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jekyll_href/version.rb +1 -1
- data/lib/jekyll_href.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15480940e220781ca558c0f95d22688a87ea55f6b55f8bac9af6f93a1bbe5b33
|
4
|
+
data.tar.gz: 1314f1deb1e739899c5eb686bf9834d3f88bc46fe3df14bff72f44d737a3064c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d15df7a457f5da7181525240ee63ea5a21a404eb8c0fdaf20a6f687378ef4947ff7a32e769376e3825aa95cad2862d09746907635c2320d517f270e2cd1156de
|
7
|
+
data.tar.gz: 14c3ba6b074a3da884ff50f82519ee054625c5340afae444fddc93ec90414b962a1300ebac4fa3c8904d3bdeedc04f5c0aa26fdc520bafc23463f415f9d67c60
|
data/CHANGELOG.md
CHANGED
data/lib/jekyll_href/version.rb
CHANGED
data/lib/jekyll_href.rb
CHANGED
@@ -86,6 +86,7 @@ class ExternalHref < Liquid::Tag
|
|
86
86
|
|
87
87
|
match(liquid_context) if @match
|
88
88
|
link = replace_vars(liquid_context, @link)
|
89
|
+
@target = @follow = "" if link.start_with? "mailto:"
|
89
90
|
@logger.debug { "@link=#{@link}; link=#{link}" }
|
90
91
|
"<a href='#{link}'#{@target}#{@follow}>#{@text}</a>"
|
91
92
|
end
|