mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user