branch: externals/comint-mime commit 9cf131d7a208b6a9a21bc8a9db046edbb655df17 Author: Augusto Stoffel <arstof...@gmail.com> Commit: Augusto Stoffel <arstof...@gmail.com>
Disable LaTeX rendering by default for now TeX can execute arbitrary code depending on the settings. This needs some more thought. --- comint-mime.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comint-mime.el b/comint-mime.el index 04f53a6..ea1fa95 100644 --- a/comint-mime.el +++ b/comint-mime.el @@ -61,7 +61,8 @@ ignores this option altogether.") '(("^image/svg+xml\\>" . comint-mime-render-svg) ("^image\\>" . comint-mime-render-image) ("^text/html" . comint-mime-render-html) - ("^text/latex" . comint-mime-render-latex) + ;; Disable this by default until we are sure about the security implications + ;; ("^text/latex" . comint-mime-render-latex) ("^text\\>" . comint-mime-render-plain-text) ("." . comint-mime-render-literally)) "Alist associating MIME types to rendering functions.