Re: [Evolution] Signature from Script NOT Preformatted



On Tue, 2014-04-29 at 15:29 -0700, Jonathan Ryshpan wrote:
By default Evolution adds a <pre> </pre> pair around the signature.
Is there any way to suppress this?

        Hi,
it may depend on actual evolution version you use (which is...), but the
current stable (3.12.x, and in 3.10.x too for sure) the newly created
script-based signature guesses mime type of it from the content. As
yours doesn't provide <html></html>, the type was guessed as text/plain,
which means the <pre></pre> is added to it. Note this guess is done only
for the first time, once the type is saved it's not overwritten.

Note that "</pre>" has been converted to "&lt;/pre&gt;".  Is there any
way around this, or am I well and truly stuck?

Check the signature name at
   ~/.config/evolution/signatures
, then find the same filename at
   ~/.config/evolution/sources
, but with a .source extension. Edit it and change the MimeType key to
text/html - the related section should look like:
   [Mail Signature]
   MimeType=text/html
Once that's done, the signature should be added without <pre></pre> in
the message. If it doesn't work straight away, then close evolution,
eventually restart/relogin the session, thus the changes are propagated
to evolution-source-registry.

BTW: Why all this formatting?  In particular, why is the signature
appended as a table?

Technical reasons, text/plain signatures are differently placed into
HTML emails :) This might be partly changed with webkit-based composer,
at least the table part. I can be wrong here.
        Bye,
        Milan



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