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
The following commit(s) were added to refs/heads/master by this push:
new adcd944 fix relative links
adcd944 is described below
commit adcd944939b5bfd2f145930e6e17eff80078fd20
Author: Alex Heneveld <[email protected]>
AuthorDate: Tue Sep 7 11:20:08 2021 +0100
fix relative links
---
_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 5e915e5..9f1a427 100644
--- a/_plugins/jekyll_relative_links.rb
+++ b/_plugins/jekyll_relative_links.rb
@@ -43,7 +43,7 @@ module JekyllRelativeLinks
FRAGMENT_REGEX = %r!(#.+?|)?!.freeze
TITLE_REGEX =
%r{(\s+"(?:\\"|[^"])*(?<!\\)"|\s+"(?:\\'|[^'])*(?<!\\)')?}.freeze
FRAG_AND_TITLE_REGEX = %r!#{FRAGMENT_REGEX}#{TITLE_REGEX}!.freeze
- INLINE_LINK_REGEX =
%r!\[#{LINK_TEXT_REGEX}\]\(([^\)]*?)#{FRAG_AND_TITLE_REGEX}\)!.freeze
+ INLINE_LINK_REGEX =
%r!\[#{LINK_TEXT_REGEX}\]\(([^\)]+?)#{FRAG_AND_TITLE_REGEX}\)!.freeze
REFERENCE_LINK_REGEX = %r!^\s*?\[#{LINK_TEXT_REGEX}\]:
(.+?)#{FRAG_AND_TITLE_REGEX}\s*?$!.freeze
LINK_REGEX = %r!(#{INLINE_LINK_REGEX}|#{REFERENCE_LINK_REGEX})!.freeze
CONVERTER_CLASS = Jekyll::Converters::Markdown