diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-10-20 21:46:39 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-22 19:49:28 +0300 |
commit | 2e613db999a00b50ac8ab533c8820df27bc8a8da (patch) | |
tree | 9fa8ecebaddb3efd15eb76307185bfb138bec8d8 /Meta/convert-markdown-links.lua | |
parent | 7e52b6fa2464b41c5e67c57b023a9ad063eb61ca (diff) | |
download | serenity-2e613db999a00b50ac8ab533c8820df27bc8a8da.zip |
man.serenityos.org: Fix links to man(1), avoid unnecessary shells
This fixes the current bug at the end of less(1), which links to the
wrong file ".html" instead of "man.html".
Diffstat (limited to 'Meta/convert-markdown-links.lua')
-rw-r--r-- | Meta/convert-markdown-links.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Meta/convert-markdown-links.lua b/Meta/convert-markdown-links.lua index 0f960e5656..0a1800b23d 100644 --- a/Meta/convert-markdown-links.lua +++ b/Meta/convert-markdown-links.lua @@ -1,5 +1,4 @@ function Link(el) el.target = string.gsub(el.target, "%.md", ".html") -- change .md to .html links - el.target = string.gsub(el.target, "man", "", 1) -- change man1/???.html to 1/???.html links return el end |