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 224b3d172996cd8ecd2858615b514e5d9ba930d3
Author: Mykola Mandra <[email protected]>
AuthorDate: Fri Jul 29 17:44:44 2022 +0100

    Check if link is an empty string when evaulating if replaceable
    
    Signed-off-by: Mykola Mandra <[email protected]>
---
 _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 3beb1380..852981b4 100644
--- a/_plugins/jekyll_relative_links.rb
+++ b/_plugins/jekyll_relative_links.rb
@@ -238,7 +238,7 @@ module JekyllRelativeLinks
     end
 
     def replaceable_link?(string)
-      !fragment?(string) && !absolute_url?(string)
+      !fragment?(string) && !absolute_url?(string) && string != ""
     end
 
     def option(key)

Reply via email to