Re: [Evolution] Sigs Still Screwed



cheers();

What is the paragraph style of the last lines, including sig? Try
'normal' instead of 'preformat' for the empty newlines.
Well, the quoted material is preformat, but this is normal by default.

Yep, right. But why is the sig 'preformat'?


Try the following code, without the <br> tags, instead using <pre>. That
takes newline characters for breaking lines and will prevent additional
<pre> tags from messing with the code.
OK, the above is what is producing the below. I notice already that
the code changes described above had the effect of changing the font
from Arial (or whatever sans serif is used) to Courier.

Yeah, I see -- that was not intended by me.

Still, the <pre> tag comes in occasionally. Why?? Thats the great
question.


I tested that code with mozilla, displaying the mail as is:

mozilla
- no additional newlines
- interprets all text in <pre> as Typewriter

gtkhtml
- additional newlines
- doesn't change the font


There are 2 conclusions:
- there are bugs in displaying that html code
- there is a flaw with inserting the <pre> code occasionally


I am running out of ideas for now...

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}





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