[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.107 and 1.109

version 1.107, 2010/09/26 10:32:14 version 1.109, 2010/10/01 12:09:55
Line 1316  mdoc_bd_pre(MDOC_ARGS)
Line 1316  mdoc_bd_pre(MDOC_ARGS)
   
         for (nn = n->child; nn; nn = nn->next) {          for (nn = n->child; nn; nn = nn->next) {
                 print_mdoc_node(m, nn, h);                  print_mdoc_node(m, nn, h);
                   /*
                    * If the printed node flushes its own line, then we
                    * needn't do it here as well.  This is hacky, but the
                    * notion of selective eoln whitespace is pretty dumb
                    * anyway, so don't sweat it.
                    */
                   switch (nn->tok) {
                   case (MDOC_br):
                           /* FALLTHROUGH */
                   case (MDOC_sp):
                           /* FALLTHROUGH */
                   case (MDOC_Bl):
                           /* FALLTHROUGH */
                   case (MDOC_Lp):
                           /* FALLTHROUGH */
                   case (MDOC_Pp):
                           continue;
                   default:
                           break;
                   }
                 if (nn->next && nn->next->line == nn->line)                  if (nn->next && nn->next->line == nn->line)
                         continue;                          continue;
                 print_text(h, "\n");                  print_text(h, "\n");
Line 2137  mdoc_quote_pre(MDOC_ARGS)
Line 2157  mdoc_quote_pre(MDOC_ARGS)
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Op):          case (MDOC_Op):
                 print_text(h, "\\(lB");                  print_text(h, "\\(lB");
                   h->flags |= HTML_NOSPACE;
                 PAIR_CLASS_INIT(&tag, "opt");                  PAIR_CLASS_INIT(&tag, "opt");
                 print_otag(h, TAG_SPAN, 1, &tag);                  print_otag(h, TAG_SPAN, 1, &tag);
                 break;                  break;

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.109

CVSweb