[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.145 and 1.146

version 1.145, 2011/01/25 15:17:18 version 1.146, 2011/01/25 15:28:56
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)
 {  {
         struct htmlpair         tag;          struct htmlpair  tag;
           char             buf[3];
   
         PAIR_CLASS_INIT(&tag, "unix");          PAIR_CLASS_INIT(&tag, "unix");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);
Line 847  mdoc_bx_pre(MDOC_ARGS)
Line 848  mdoc_bx_pre(MDOC_ARGS)
         }          }
   
         if (NULL != (n = n->next)) {          if (NULL != (n = n->next)) {
                   buf[0] = '-';
                   buf[1] = toupper((unsigned char)*n->string);
                   buf[2] = '\0';
   
                 h->flags |= HTML_NOSPACE;                  h->flags |= HTML_NOSPACE;
                 print_text(h, "-");                  print_text(h, buf);
                 h->flags |= HTML_NOSPACE;                  h->flags |= HTML_NOSPACE;
                 print_text(h, n->string);                  print_text(h, n->string + 1);
         }          }
   
         return(0);          return(0);

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

CVSweb