Re: [Evolution] Messed Up Signature



On Fri, 2003-01-31 at 18:31, Lonnie Borntreger wrote:
On Fri, 2003-01-31 at 16:36, Lane P. Lester wrote:
On Fri, 2003-01-31 at 14:13, Ettore Perazzoli wrote:
On Fri, 2003-01-31 at 08:27, Lane P. Lester wrote:
> Often my signature gets blank lines inserted in it. An example is
> shown below. There should be only one blank line between "Lane" and
> the rest, and no blank line between the two bottom lines. Do you know
> how I can prevent this?

Is it when you are replying or when you are composing a new message?  I
have no idea why it would do that only sometimes.
Well, maybe it's doing it all the time now, and it did it right with the older version that used an external sig file, instead of the internal editor. The sig looks right in the Composer; it's only the version that gets sent that's wrong.
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Lane<BR>
<BR>
<FONT COLOR="#0000f8">Lane P. Lester / Madison County, Georgia</FONT><BR>
<FONT COLOR="#008000">Running Linux more and Windows less</FONT>
</TD>
</TR>
</TABLE>
</PRE>


The problem is the <pre></pre> surrounding it.  It is placing the line return for <br> plus the line return for the actual newline in the file.  Look in ~/evolution/signatures at the file directly with a text editor and see if the <pre></pre> is there.  If so, manually remove them.  If not, then they are inserted by evolution when it appends the sig file - so then just remove the <br>s.  However, if evolution is inserting the <pre></pre>, it is probably left over code to deal with text only sigs and that should not happen anymore since it requires an HTML sig.
That explains it; it looks like the <pre></pre> and the table stuff is being inserted by Evo's code. Here is the actual signature file:
<!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/1.1.7">
</HEAD>
<BODY>
Lane<BR>
____<BR>
<FONT COLOR="#0000f8">Lane P. Lester / Madison County, Georgia</FONT><BR>
<FONT COLOR="#008000">Running Linux more and Windows less</FONT>
</BODY>
</HTML>

I tried taking out the <BR>s and inserting table codes to control the lines, but it looks like the <pre></pre>s still add extra lines. So I tried this replacement to fool both the table and pre codes:
Lane</TD></TR></TABLE></PRE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR><TD><FONT COLOR="#0000f8">____</FONT></TD></TR>
<TR><TD><FONT COLOR="#0000f8">Lane P. Lester / Madison County, Georgia</FONT></TD></TR>
<TR><TD><FONT COLOR="#008000">Running Linux more and Windows less</FONT>

This seems to work OK for a new message, but a reply gets two copies of the bottom two lines! This message is not a good example, because I've saved it as a draft and fiddled with the signature during re-editing.

Lane

____
Lane P. Lester / Madison County, Georgia
Running Linux more and Windows less


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