mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
9e471353dd
The special URL links (help://man) and the application opening links now work on the man page website. While the page links are translated correctly, the application launch can't be implemented. For this reason, an explanatory error page is shown instead.
5 lines
211 B
Lua
5 lines
211 B
Lua
function Link(el)
|
|
el.target = string.gsub(el.target, "file:///bin/.*", "../cant-run-application.html")
|
|
el.target = string.gsub(el.target, "help://man/([^/]*)/(.*)", "../man%1/%2.html")
|
|
return el
|
|
end
|