*** backend-gaimlog.cs.orig	2003-09-30 15:27:31.000000000 +1200
--- backend-gaimlog.cs	2003-09-30 15:27:16.000000000 +1200
***************
*** 542,548 ****
  
  			home = Environment.GetEnvironmentVariable ("HOME");
  			path = Path.Combine (home,
! 					     String.Format (".dashboard/tmp/{0}-{1}", idx.Buddyname, conv_num));
  
  			FileStream s;
  
--- 542,548 ----
  
  			home = Environment.GetEnvironmentVariable ("HOME");
  			path = Path.Combine (home,
! 					     String.Format (".dashboard/tmp/{0}-{1}.html", idx.Buddyname, conv_num));
  
  			FileStream s;
  
***************
*** 554,560 ****
  
  			StreamWriter sw = new StreamWriter (s);
  
! 			string html = idx.GetLogEntryText (conv_num);
  
  			sw.WriteLine ("<html bgcolor=#ffffff><body><h2>Conversation with {0}</h2><h3>{1}</h3>",
  				      idx.Buddyname, ((GaimLogIndexEntry) idx.Convs [conv_num]).Date);
--- 554,560 ----
  
  			StreamWriter sw = new StreamWriter (s);
  
! 			string html = Regex.Replace (idx.GetLogEntryText (conv_num), "\n", "<br>\n");
  
  			sw.WriteLine ("<html bgcolor=#ffffff><body><h2>Conversation with {0}</h2><h3>{1}</h3>",
  				      idx.Buddyname, ((GaimLogIndexEntry) idx.Convs [conv_num]).Date);
