[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.144 and 1.145

version 1.144, 2011/01/13 14:30:13 version 1.145, 2011/01/25 15:17:18
Line 832  mdoc_xx_pre(MDOC_ARGS)
Line 832  mdoc_xx_pre(MDOC_ARGS)
 static int  static int
 mdoc_bx_pre(MDOC_ARGS)  mdoc_bx_pre(MDOC_ARGS)
 {  {
         const struct mdoc_node  *nn;          struct htmlpair         tag;
         struct htmlpair          tag;  
   
         PAIR_CLASS_INIT(&tag, "unix");          PAIR_CLASS_INIT(&tag, "unix");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);
   
         for (nn = n->child; nn; nn = nn->next)          if (NULL != (n = n->child)) {
                 print_mdoc_node(m, nn, h);                  print_text(h, n->string);
                   h->flags |= HTML_NOSPACE;
                   print_text(h, "BSD");
           } else {
                   print_text(h, "BSD");
                   return(0);
           }
   
         if (n->child)          if (NULL != (n = n->next)) {
                 h->flags |= HTML_NOSPACE;                  h->flags |= HTML_NOSPACE;
                   print_text(h, "-");
                   h->flags |= HTML_NOSPACE;
                   print_text(h, n->string);
           }
   
         print_text(h, "BSD");  
         return(0);          return(0);
 }  }
   

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.145

CVSweb