diff options
| author | XhmikosR <[email protected]> | 2018-09-18 22:27:46 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-10-18 11:27:47 +0300 |
| commit | e105d156420864807dca97d4953d0baf843f01f9 (patch) | |
| tree | d5af31ccf45bc45adfcecc23e7ce3428a9619c39 /docs/_plugins | |
| parent | cf6f867190cd91181a63d8576c3f5a485d7050a7 (diff) | |
| download | bootstrap-e105d156420864807dca97d4953d0baf843f01f9.tar.xz bootstrap-e105d156420864807dca97d4953d0baf843f01f9.zip | |
Use https, fix broken links and unneeded redirects.
Diffstat (limited to 'docs/_plugins')
| -rw-r--r-- | docs/_plugins/bugify.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_plugins/bugify.rb b/docs/_plugins/bugify.rb index 5562dd5de..0e0a81867 100644 --- a/docs/_plugins/bugify.rb +++ b/docs/_plugins/bugify.rb @@ -15,7 +15,7 @@ module Jekyll upstream_map.each do |key, data| url = data.is_a?(Array) ? data[0] : data label = data.is_a?(Array) ? "#{data[1]} " : "" - input = input.gsub(/#{key}#(\d+)/, "<a href=\"#{url}\\1\">#{label}#\\1</a>") + input = input.gsub(/#{key}#(\d+)/, "<a href=\"#{url}\\1#{key === 'Edge' ? '/' : ''}\">#{label}#\\1</a>") end return input |
