/[groff]/groff/src/devices/grohtml/html-text.cpp
ViewVC logotype

Diff of /groff/src/devices/grohtml/html-text.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by wl, Wed Feb 16 14:07:24 2005 UTC revision 1.7 by wl, Sun Feb 27 06:26:15 2005 UTC
# Line 444  void html_text::do_pre (void) Line 444  void html_text::do_pre (void)
444    done_tt();    done_tt();
445    if (is_present(P_TAG)) {    if (is_present(P_TAG)) {
446      html_indent *i = remove_indent(P_TAG);      html_indent *i = remove_indent(P_TAG);
447        int space = retrieve_para_space();
448      (void)done_para();      (void)done_para();
449      if (! is_present(PRE_TAG))      if (! is_present(PRE_TAG))
450        push_para(PRE_TAG, NULL, i);        push_para(PRE_TAG, NULL, i);
451        start_space = space;
452    } else if (! is_present(PRE_TAG))    } else if (! is_present(PRE_TAG))
453      push_para(PRE_TAG, NULL, NULL);      push_para(PRE_TAG, NULL, NULL);
454    dump_stack();    dump_stack();
# Line 709  void html_text::do_para (simple_output * Line 711  void html_text::do_para (simple_output *
711    
712  char *html_text::done_para (void)  char *html_text::done_para (void)
713  {  {
714      char *result;
715    space_emitted = TRUE;    space_emitted = TRUE;
716    return shutdown(P_TAG);    result = shutdown(P_TAG);
717      start_space = FALSE;
718      return result;
719  }  }
720    
721  /*  /*
# Line 968  void html_text::remove_para_align (void) Line 973  void html_text::remove_para_align (void)
973      while (p != NULL) {      while (p != NULL) {
974        if (p->type == P_TAG && p->arg1 != NULL) {        if (p->type == P_TAG && p->arg1 != NULL) {
975          html_indent *i = remove_indent(P_TAG);          html_indent *i = remove_indent(P_TAG);
976            int          space = retrieve_para_space();
977          done_para();          done_para();
978          do_para("", i, space_emitted);          do_para("", i, space);
979          return;          return;
980        }        }
981        p = p->next;        p = p->next;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26