[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc_html.c between version 1.47 and 1.49

version 1.47, 2009/11/14 12:04:59 version 1.49, 2009/12/02 10:16:55
Line 424  print_mdoc_node(MDOC_ARGS)
Line 424  print_mdoc_node(MDOC_ARGS)
                 break;                  break;
         case (MDOC_TEXT):          case (MDOC_TEXT):
                 print_text(h, n->string);                  print_text(h, n->string);
                 break;                  return;
         default:          default:
                 if (mdocs[n->tok].pre)                  if (mdocs[n->tok].pre)
                         child = (*mdocs[n->tok].pre)(m, n, h);                          child = (*mdocs[n->tok].pre)(m, n, h);
Line 441  print_mdoc_node(MDOC_ARGS)
Line 441  print_mdoc_node(MDOC_ARGS)
         case (MDOC_ROOT):          case (MDOC_ROOT):
                 mdoc_root_post(m, n, h);                  mdoc_root_post(m, n, h);
                 break;                  break;
         case (MDOC_TEXT):  
                 break;  
         default:          default:
                 if (mdocs[n->tok].post)                  if (mdocs[n->tok].post)
                         (*mdocs[n->tok].post)(m, n, h);                          (*mdocs[n->tok].post)(m, n, h);
Line 1575  mdoc_vt_pre(MDOC_ARGS)
Line 1573  mdoc_vt_pre(MDOC_ARGS)
         struct roffsu    su;          struct roffsu    su;
   
         if (SEC_SYNOPSIS == n->sec) {          if (SEC_SYNOPSIS == n->sec) {
                 if (n->next && MDOC_Vt != n->next->tok) {                  if (n->prev && MDOC_Vt != n->prev->tok) {
                         SCALE_VS_INIT(&su, 1);                          SCALE_VS_INIT(&su, 1);
                         bufcat_su(h, "margin-bottom", &su);                          bufcat_su(h, "margin-top", &su);
                         PAIR_STYLE_INIT(&tag, h);                          PAIR_STYLE_INIT(&tag, h);
                         print_otag(h, TAG_DIV, 1, &tag);                          print_otag(h, TAG_DIV, 1, &tag);
                 } else                  } else

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.49

CVSweb