* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.
authorIhor Radchenko <yantar92@posteo.net>
Tue, 20 Feb 2024 09:44:30 +0000 (12:44 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 24 Mar 2024 12:40:25 +0000 (08:40 -0400)
lisp/gnus/mm-view.el

index 2e1261c4c9c716a99df16c4886a02ef5534a1310..5f234e5c006769888c0088362ea445787d7e2a4c 100644 (file)
@@ -504,6 +504,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)))