🚑 Fixes type links in configuration blocks (#9968)

This commit is contained in:
Franck Nijhof 2019-07-24 23:01:29 +02:00 committed by GitHub
parent 9963bd2fa0
commit 337a165934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ module Jekyll
type.strip!
if TYPE_LINKS.include? type.downcase
url = TYPE_LINKS[type.downcase] % {component: component}
"[%s](%s)" % [type, url]
"<a href=\"%s\">%s</a>" % [url, type]
else
type
end