[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.110 and 1.113

version 1.110, 2010/10/01 21:51:13 version 1.113, 2010/11/29 13:02:47
Line 843  mdoc_xx_pre(MDOC_ARGS)
Line 843  mdoc_xx_pre(MDOC_ARGS)
   
         switch (n->tok) {          switch (n->tok) {
         case (MDOC_Bsx):          case (MDOC_Bsx):
                 pp = "BSDI BSD/OS";                  pp = "BSD/OS";
                 break;                  break;
         case (MDOC_Dx):          case (MDOC_Dx):
                 pp = "DragonFly";                  pp = "DragonFly";
Line 1323  mdoc_bd_pre(MDOC_ARGS)
Line 1323  mdoc_bd_pre(MDOC_ARGS)
                  * anyway, so don't sweat it.                   * anyway, so don't sweat it.
                  */                   */
                 switch (nn->tok) {                  switch (nn->tok) {
                   case (MDOC_Sm):
                           /* FALLTHROUGH */
                 case (MDOC_br):                  case (MDOC_br):
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case (MDOC_sp):                  case (MDOC_sp):
Line 1603  mdoc_sm_pre(MDOC_ARGS)
Line 1605  mdoc_sm_pre(MDOC_ARGS)
   
         assert(n->child && MDOC_TEXT == n->child->type);          assert(n->child && MDOC_TEXT == n->child->type);
         if (0 == strcmp("on", n->child->string)) {          if (0 == strcmp("on", n->child->string)) {
                 /* FIXME: no p->col to check... */                  /*
                    * FIXME: no p->col to check.  Thus, if we have
                    *  .Bd -literal
                    *  .Sm off
                    *  1 2
                    *  .Sm on
                    *  3
                    *  .Ed
                    * the "3" is preceded by a space.
                    */
                 h->flags &= ~HTML_NOSPACE;                  h->flags &= ~HTML_NOSPACE;
                 h->flags &= ~HTML_NONOSPACE;                  h->flags &= ~HTML_NONOSPACE;
         } else          } else
Line 1664  mdoc_lk_pre(MDOC_ARGS)
Line 1675  mdoc_lk_pre(MDOC_ARGS)
         PAIR_HREF_INIT(&tag[1], nn->string);          PAIR_HREF_INIT(&tag[1], nn->string);
         print_otag(h, TAG_A, 2, tag);          print_otag(h, TAG_A, 2, tag);
   
         if (NULL == nn->next)          if (NULL == nn || NULL == nn->next)
                 return(1);                  return(1);
   
         for (nn = nn->next; nn; nn = nn->next)          for (nn = nn->next; nn; nn = nn->next)

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.113

CVSweb