mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
; * test/lisp/net/shr-tests.el (shr-test/zoom-image): Fix <img> (bug#79041).
This commit is contained in:
parent
ae560ae11c
commit
462a541db9
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ settings, then once more for each (OPTION . VALUE) pair.")
|
|||
(dolist (alt '(nil "" "nothing to see here"))
|
||||
(with-temp-buffer
|
||||
(ert-info ((format "image with alt=%S" alt))
|
||||
(let ((attrs (if alt (format " alt=\"%s\"" alt) "")))
|
||||
(insert (format "<img src=\"%s\" %s" image-url attrs)))
|
||||
(let ((attrs (if alt (format " alt=\"%s\">" alt) ">")))
|
||||
(insert (format "<img src=\"%s\"%s" image-url attrs)))
|
||||
(cl-letf* (;; Pretend we're a graphical display.
|
||||
((symbol-function 'display-graphic-p) #'always)
|
||||
((symbol-function 'url-queue-retrieve)
|
||||
|
|
|
|||
Loading…
Reference in a new issue