From: Ihor Radchenko Date: Tue, 20 Feb 2024 09:44:30 +0000 (+0300) Subject: * lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c97727da25dcda13e4625f3fa2fccb9aecf12e57;p=emacs.git * lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted. (cherry picked from commit 937b9042ad7426acdcca33e3d931d8f495bdd804) --- diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index 3a7192092af..109b6c17c2c 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -502,6 +502,7 @@ If MODE is not set, try to find mode automatically." (setq coding-system (mm-find-buffer-file-coding-system))) (setq text (buffer-string)))) (with-temp-buffer + (setq untrusted-content t) (insert (cond ((eq charset 'gnus-decoded) (with-current-buffer (mm-handle-buffer handle) (buffer-string)))