[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.50 and 1.51

version 1.50, 2010/01/01 13:17:58 version 1.51, 2010/01/01 13:35:30
Line 659  mdoc_fl_pre(MDOC_ARGS)
Line 659  mdoc_fl_pre(MDOC_ARGS)
 {  {
         struct htmlpair  tag;          struct htmlpair  tag;
   
           PAIR_CLASS_INIT(&tag, "flag");
           print_otag(h, TAG_SPAN, 1, &tag);
   
         /* `Cm' has no leading hyphen. */          /* `Cm' has no leading hyphen. */
   
         if (MDOC_Cm == n->tok) {          if (MDOC_Cm == n->tok)
                 PAIR_CLASS_INIT(&tag, "flag");  
                 print_otag(h, TAG_SPAN, 1, &tag);  
                 return(1);                  return(1);
         }  
   
         /* A zero-length child shouldn't get a dash. */  
   
         if (n->child) {  
                 assert(MDOC_TEXT == n->child->type);  
                 assert(n->child->string);  
                 if ('\0' == *n->child->string)  
                         return(0);  
         }  
   
         PAIR_CLASS_INIT(&tag, "flag");  
         print_otag(h, TAG_SPAN, 1, &tag);  
   
         print_text(h, "\\-");          print_text(h, "\\-");
   

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

CVSweb