Werner LEMBERG <[EMAIL PROTECTED]> writes: > > here is a better patch, I broke <pre> formatted text with the last > > patch, > > Uh, too late. Please provide a patch w.r.t. to the current CVS. > >
Hi Werner, sure, here it is, Gaius --- groff-cvs/src/devices/grohtml/post-html.cpp Wed Feb 16 14:07:24 2005 +++ groff-html/src/devices/grohtml/post-html.cpp Wed Feb 16 14:48:43 2005 @@ -3772,7 +3772,7 @@ do { page_contents->glyphs.move_left(); g = page_contents->glyphs.get_data(); - result = !g->is_a_tag(); + result = g->is_a_tag(); if (g->is_fi()) nf = FALSE; else if (g->is_nf()) @@ -3849,27 +3849,27 @@ current_paragraph->do_italic(); } else if (strcmp(fontname, "CR") == 0) { if ((! fill_on) && (is_courier_until_eol()) && - is_line_start(fill_on)) { + is_line_start(! fill_on)) { current_paragraph->do_pre(); } current_paragraph->do_tt(); } else if (strcmp(fontname, "CI") == 0) { if ((! fill_on) && (is_courier_until_eol()) && - is_line_start(fill_on)) { + is_line_start(! fill_on)) { current_paragraph->do_pre(); } current_paragraph->do_tt(); current_paragraph->do_italic(); } else if (strcmp(fontname, "CB") == 0) { if ((! fill_on) && (is_courier_until_eol()) && - is_line_start(fill_on)) { + is_line_start(! fill_on)) { current_paragraph->do_pre(); } current_paragraph->do_tt(); current_paragraph->do_bold(); } else if (strcmp(fontname, "CBI") == 0) { if ((! fill_on) && (is_courier_until_eol()) && - is_line_start(fill_on)) { + is_line_start(! fill_on)) { current_paragraph->do_pre(); } current_paragraph->do_tt(); _______________________________________________ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff