You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/07 10:25:43 UTC
[brooklyn-docs] 02/03: fix image relative link regex
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git
commit 966238ae4b8a2789538a6caa23370761efdd60f9
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Sat Sep 4 01:52:14 2021 +0100
fix image relative link regex
---
_plugins/jekyll_relative_links.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_plugins/jekyll_relative_links.rb b/_plugins/jekyll_relative_links.rb
index b70ea8d..22691d4 100644
--- a/_plugins/jekyll_relative_links.rb
+++ b/_plugins/jekyll_relative_links.rb
@@ -151,7 +151,7 @@ module JekyllRelativeLinks
else
url = url_for_path(pathWithText[1], src) if pathWithText
- url = url + pathWithText[2] if url
+ url = url + pathWithText[3] if url
url = path unless url
end
url