mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-31 04:58:07 +00:00
Fix man inline macro
This should fix the double slash in the link.
This commit is contained in:
parent
428723d04f
commit
8b3dfd7ea9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user