* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.

This commit is contained in:
Ihor Radchenko 2024-02-20 12:44:30 +03:00 committed by Eli Zaretskii
parent ccc188fcf9
commit 937b9042ad

View 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)))