version 1.289, 2017/05/30 16:31:29 |
version 1.291, 2017/06/24 14:38:32 |
|
|
#include <unistd.h> |
#include <unistd.h> |
|
|
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
|
#include "mandoc.h" |
#include "roff.h" |
#include "roff.h" |
#include "mdoc.h" |
#include "mdoc.h" |
#include "out.h" |
#include "out.h" |
Line 1322 mdoc_lk_pre(MDOC_ARGS) |
|
Line 1323 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. */ |