[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.289 and 1.290

version 1.289, 2017/05/30 16:31:29 version 1.290, 2017/06/19 12:57:08
Line 1322  mdoc_lk_pre(MDOC_ARGS)
Line 1322  mdoc_lk_pre(MDOC_ARGS)
         punct = punct->next;          punct = punct->next;
   
         /* Link target and link text. */          /* Link target and link text. */
           descr = link->next;
           if (descr == punct)
                   descr = link;  /* no text */
         t = print_otag(h, TAG_A, "cTh", "Lk", link->string);          t = print_otag(h, TAG_A, "cTh", "Lk", link->string);
         for (descr = link->next; descr != punct; descr = descr->next) {          do {
                 if (descr->flags & (NODE_DELIMC | NODE_DELIMO))                  if (descr->flags & (NODE_DELIMC | NODE_DELIMO))
                         h->flags |= HTML_NOSPACE;                          h->flags |= HTML_NOSPACE;
                 print_text(h, descr->string);                  print_text(h, descr->string);
         }                  descr = descr->next;
           } while (descr != punct);
         print_tagq(h, t);          print_tagq(h, t);
   
         /* Trailing punctuation. */          /* Trailing punctuation. */

Legend:
Removed from v.1.289  
changed lines
  Added in v.1.290

CVSweb