[Evolution] Signature from Script NOT Preformatted
- From: Jonathan Ryshpan <jonrysh pacbell net>
- To: Evolution List <evolution-list gnome org>
- Subject: [Evolution] Signature from Script NOT Preformatted
- Date: Tue, 29 Apr 2014 15:29:00 -0700
I'd like to append a signature generated by a script to my emails, which I
don't want preformatted. The signature is generated by the fortune program and I would like the font etc. to match the rest of the message.
By default Evolution adds a <pre> </pre> pair around the signature. Is there any way to suppress this?
I had hoped to work around the problem with a script like this:
$ cat Signature.sh
#!/bin/bash
echo "</pre>"
echo "All the best - jon."
/usr/bin/fortune $HOME/proj/quotes/quotes
echo "<pre>"
But evolution cleverly works around this by quoting the angle brackets as shown in the saved email shown below:
$ cat TestOfSignature
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Here a signature:<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
</pre>
All the best - jon.
There are 2 rules to success in life:
1. Don't tell people everything you know.
-- Dean Brown
<pre>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Note that "</pre>" has been converted to "</pre>". Is there any way around this, or am I well and truly stuck?
BTW: Why all this formatting? In particular, why is the signature appended as a table?
--
</pre>
All the best - jon.
In a World Without Fences,
Who Needs Gates?
Linux - http://www.linux.org
<pre>
|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]