Remove obsolete lynx bug mitigation

a lynx-internal hash of div.contents collided with em>a which caused
built-in styling to render much of entire pages as emphasized links.

Since switching from doxygen, we haven't had a <div class="contents">
so this workaround is no longer needed.
This commit is contained in:
Aaron Gyes
2023-01-01 19:37:38 -08:00
parent a0840637fa
commit 550857ef65
3 changed files with 0 additions and 111 deletions

View File

@@ -242,11 +242,6 @@ function help --description 'Show help for the fish shell'
$fish_browser $page_url &
disown $last_pid >/dev/null 2>&1
else
# Work around lynx bug where <div class="contents"> always has the same formatting as links (unreadable)
# by using a custom style sheet. See https://github.com/fish-shell/fish-shell/issues/4170
if string match -qr '^lynx' -- $fish_browser
set fish_browser $fish_browser -lss={$__fish_data_dir}/lynx.lss
end
$fish_browser $page_url
end
end