[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.281 and 1.282

version 1.281, 2017/05/04 17:48:29 version 1.282, 2017/05/04 22:16:09
Line 394  print_mdoc_node(MDOC_ARGS)
Line 394  print_mdoc_node(MDOC_ARGS)
                 }                  }
                 assert(h->tblt == NULL);                  assert(h->tblt == NULL);
                 if (n->tok < ROFF_MAX) {                  if (n->tok < ROFF_MAX) {
                         switch(n->tok) {                          roff_html_pre(h, n);
                         case ROFF_br:  
                                 mdoc_sp_pre(meta, n, h);  
                                 break;  
                         default:  
                                 abort();  
                         }  
                         break;                          break;
                 }                  }
                 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);                  assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);
Line 1337  mdoc_sp_pre(MDOC_ARGS)
Line 1331  mdoc_sp_pre(MDOC_ARGS)
         struct roffsu    su;          struct roffsu    su;
   
         SCALE_VS_INIT(&su, 1);          SCALE_VS_INIT(&su, 1);
           if (NULL != (n = n->child)) {
         if (MDOC_sp == n->tok) {                  if ( ! a2roffsu(n->string, &su, SCALE_VS))
                 if (NULL != (n = n->child)) {                          su.scale = 1.0;
                         if ( ! a2roffsu(n->string, &su, SCALE_VS))                  else if (su.scale < 0.0)
                                 su.scale = 1.0;                          su.scale = 0.0;
                         else if (su.scale < 0.0)          }
                                 su.scale = 0.0;  
                 }  
         } else  
                 su.scale = 0.0;  
   
         print_otag(h, TAG_DIV, "suh", &su);          print_otag(h, TAG_DIV, "suh", &su);
   

Legend:
Removed from v.1.281  
changed lines
  Added in v.1.282

CVSweb