[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.154 and 1.155

version 1.154, 2011/03/07 01:35:51 version 1.155, 2011/03/22 14:05:45
Line 431  print_mdoc_node(MDOC_ARGS)
Line 431  print_mdoc_node(MDOC_ARGS)
                 if (' ' == *n->string && MDOC_LINE & n->flags)                  if (' ' == *n->string && MDOC_LINE & n->flags)
                         if ( ! (HTML_LITERAL & h->flags))                          if ( ! (HTML_LITERAL & h->flags))
                                 print_otag(h, TAG_BR, 0, NULL);                                  print_otag(h, TAG_BR, 0, NULL);
                   if (MDOC_DELIMC & n->flags)
                           h->flags |= HTML_NOSPACE;
                 print_text(h, n->string);                  print_text(h, n->string);
                   if (MDOC_DELIMO & n->flags)
                           h->flags |= HTML_NOSPACE;
                 return;                  return;
         case (MDOC_EQN):          case (MDOC_EQN):
                 PAIR_CLASS_INIT(&tag, "eqn");                  PAIR_CLASS_INIT(&tag, "eqn");
Line 1381  mdoc_fa_pre(MDOC_ARGS)
Line 1385  mdoc_fa_pre(MDOC_ARGS)
                 t = print_otag(h, TAG_I, 1, &tag);                  t = print_otag(h, TAG_I, 1, &tag);
                 print_text(h, nn->string);                  print_text(h, nn->string);
                 print_tagq(h, t);                  print_tagq(h, t);
                 if (nn->next)                  if (nn->next) {
                           h->flags |= HTML_NOSPACE;
                         print_text(h, ",");                          print_text(h, ",");
                   }
         }          }
   
         if (n->child && n->next && n->next->tok == MDOC_Fa)          if (n->child && n->next && n->next->tok == MDOC_Fa) {
                   h->flags |= HTML_NOSPACE;
                 print_text(h, ",");                  print_text(h, ",");
           }
   
         return(0);          return(0);
 }  }
Line 1514  mdoc_fn_pre(MDOC_ARGS)
Line 1522  mdoc_fn_pre(MDOC_ARGS)
                 t = print_otag(h, TAG_I, i, tag);                  t = print_otag(h, TAG_I, i, tag);
                 print_text(h, nn->string);                  print_text(h, nn->string);
                 print_tagq(h, t);                  print_tagq(h, t);
                 if (nn->next)                  if (nn->next) {
                           h->flags |= HTML_NOSPACE;
                         print_text(h, ",");                          print_text(h, ",");
                   }
         }          }
   
           h->flags |= HTML_NOSPACE;
         print_text(h, ")");          print_text(h, ")");
         if (MDOC_SYNPRETTY & n->flags)  
           if (MDOC_SYNPRETTY & n->flags) {
                   h->flags |= HTML_NOSPACE;
                 print_text(h, ";");                  print_text(h, ";");
           }
   
         return(0);          return(0);
 }  }
Line 1671  mdoc_fo_post(MDOC_ARGS)
Line 1685  mdoc_fo_post(MDOC_ARGS)
   
         if (MDOC_BODY != n->type)          if (MDOC_BODY != n->type)
                 return;                  return;
           h->flags |= HTML_NOSPACE;
         print_text(h, ")");          print_text(h, ")");
           h->flags |= HTML_NOSPACE;
         print_text(h, ";");          print_text(h, ";");
 }  }
   
Line 2032  mdoc__x_post(MDOC_ARGS)
Line 2048  mdoc__x_post(MDOC_ARGS)
         if (NULL == n->parent || MDOC_Rs != n->parent->tok)          if (NULL == n->parent || MDOC_Rs != n->parent->tok)
                 return;                  return;
   
           h->flags |= HTML_NOSPACE;
         print_text(h, n->next ? "," : ".");          print_text(h, n->next ? "," : ".");
 }  }
   

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155

CVSweb