d65c8df3c48592e9b0b059f90a3e541e3165e002
tdreszer
  Mon Apr 25 16:14:47 2011 -0700
Insignificant change from FONT tags to CSS.
diff --git src/lib/seqOut.c src/lib/seqOut.c
index cbcbe7b..c8d85e0 100644
--- src/lib/seqOut.c
+++ src/lib/seqOut.c
@@ -24,50 +24,50 @@
 cfm->color = 0;
 cfm->wordLen = wordLen;
 cfm->lineLen = lineLen;
 cfm->lineNumbers = lineNumbers;
 cfm->countDown = countDown;
 cfm->out = out;
 cfm->numOff = numOff;
 cfm->bold = cfm->underline = cfm->italic = FALSE;
 return cfm;
 }
 
 static void cfmPopFormat(struct cfm *cfm)
 /* Restore format to default. */
 {
 if (cfm->color != 0)
-   fprintf(cfm->out, "</FONT>");
+   fprintf(cfm->out, "</span>");
 if (cfm->underline)
-  fprintf(cfm->out, "</U>");
+  fprintf(cfm->out, "</span>");
 if (cfm->bold)
   fprintf(cfm->out, "</B>");
 if (cfm->italic)
   fprintf(cfm->out, "</I>");
 }
 
 static void cfmPushFormat(struct cfm *cfm)
 /* Set format. */
 {
 if (cfm->italic)
   fprintf(cfm->out, "<I>");
 if (cfm->bold)
   fprintf(cfm->out, "<B>");
 if (cfm->underline)
-  fprintf(cfm->out, "<U>");
+  fprintf(cfm->out, "<span style='text-decoration:underline;'>");
 if (cfm->color != 0)
-  fprintf(cfm->out, "<FONT COLOR=\"#%06X\">", cfm->color);
+  fprintf(cfm->out, "<span style='font-color:#%06X;'>", cfm->color);
 }
 
 void cfmOutExt(struct cfm *cfm, char c, int color, boolean underline, boolean bold, boolean italic)
 /* Write out a byte, and formatting extras  */
 {
 if (color != cfm->color || underline != cfm->underline
    || bold != cfm->bold || italic != cfm->italic)
    {
    cfmPopFormat(cfm);
    cfm->color = color;
    cfm->underline = underline;
    cfm->bold = bold;
    cfm->italic = italic;
    cfmPushFormat(cfm);
    }