
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
|