Prevent SVG rendering in EWW buffer
Added functionality to ignore SVG files during rendering in EWW to address rendering issues associated with SVGs.
This commit is contained in:
parent
a37891f4fc
commit
28da68fcd1
@ -87,6 +87,9 @@ new EWW buffer."
|
|||||||
(cdr (assoc bookmark bookmarks)))
|
(cdr (assoc bookmark bookmarks)))
|
||||||
current-prefix-arg))
|
current-prefix-arg))
|
||||||
(eww bookmark arg))
|
(eww bookmark arg))
|
||||||
|
;; Don't try to render SVGs, for some reason they are not rendered correctly
|
||||||
|
(add-to-list 'shr-external-rendering-functions
|
||||||
|
'(svg . ignore))
|
||||||
:general
|
:general
|
||||||
(leader-map "E" #'eww)
|
(leader-map "E" #'eww)
|
||||||
(normal eww-mode-map
|
(normal eww-mode-map
|
||||||
|
Loading…
Reference in New Issue
Block a user