mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 10:35:08 +00:00

This fixes the current bug at the end of less(1), which links to the wrong file ".html" instead of "man.html".
4 lines
121 B
Lua
4 lines
121 B
Lua
function Link(el)
|
|
el.target = string.gsub(el.target, "%.md", ".html") -- change .md to .html links
|
|
return el
|
|
end
|