From 8b3dfd7ea959de53d448db81ac9e917417de4a3e Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 12 Mar 2023 10:25:13 +0800 Subject: [PATCH] Fix man inline macro This should fix the double slash in the link. --- lib/asciidoctor/man-inline-macro/extension.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/asciidoctor/man-inline-macro/extension.rb b/lib/asciidoctor/man-inline-macro/extension.rb index fcdd79a..8829e7b 100644 --- a/lib/asciidoctor/man-inline-macro/extension.rb +++ b/lib/asciidoctor/man-inline-macro/extension.rb @@ -15,11 +15,11 @@ class ManInlineMacro < Asciidoctor::Extensions::InlineMacroProcessor if doc.basebackend? 'html' case attrs['service'] when 'debian' - domain = 'https://manpages.debian.org/' + domain = 'https://manpages.debian.org' when 'arch' domain = 'https://man.archlinux.org/man' when 'opensuse' - domain = 'https://manpages.opensuse.org/' + domain = 'https://manpages.opensuse.org' else raise "no available manpage service #{attrs['service']}" end