info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML or text for security reasons


From: Björn Bidar
Subject: Re: HTML or text for security reasons
Date: Tue, 04 Feb 2025 15:53:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

gfp <gfp@posteo.at> writes:

> Hi,
>
> I disabled HTML in my Thunderbird Email package for security reasons.


AFAIK Thunderbird includes JavaScript which Gnus or rather Emacs doesn't
handle (by default). 

> In Gnus, there are news in  HTML displayed.
> In my Gnus Emails, I am not sure, if the displayed text is HTML or text.
> See an example underneath (Email from Drew Adams from Windows).
>
> I added the headers (my Email provider has certain security measures
> that can be seen in the header).

You can attach articles to be embedded to the article you are writing at
the time, this makes it easier to view the article in the same way you
received it yourself.

Read: (info "(gnus) summary message commands").

>
> i tried to read Gnus news in plain text, but it is difficult to read.
> I would prefer HTML.
> So what can I do?
>
> Are there a certain security measures in Emacs or Emacs Gnus
> configured?


Not really a security feature but you can  tell gnus (or rather
mm-decode) to prefer or discourage the html parts of the articles.

E.g. like this:

(setopt mm-discouraged-alternatives '("text/html"))

You can customize how mm-decode renders html using
`mm-text-html-renderer'

E.g. like this:
(setopt mm-text-html-renderer 'w3m)

Check my gnus config if you want to know more:
https://codeberg.org/thaodan/emacs.d#headline-237



reply via email to

[Prev in Thread] Current Thread [Next in Thread]