version 1.147, 2011/05/24 21:40:14 |
version 1.149, 2011/07/07 14:34:11 |
Line 513 print_text(struct html *h, const char *word) |
|
Line 513 print_text(struct html *h, const char *word) |
|
print_otag(h, TAG_I, 0, NULL); |
print_otag(h, TAG_I, 0, NULL); |
|
|
assert(word); |
assert(word); |
if ( ! print_encode(h, word, 0)) |
if ( ! print_encode(h, word, 0)) { |
if ( ! (h->flags & HTML_NONOSPACE)) |
if ( ! (h->flags & HTML_NONOSPACE)) |
h->flags &= ~HTML_NOSPACE; |
h->flags &= ~HTML_NOSPACE; |
|
} else |
|
h->flags |= HTML_NOSPACE; |
|
|
if (h->metaf) { |
if (h->metaf) { |
print_tagq(h, h->metaf); |
print_tagq(h, h->metaf); |
Line 595 bufcat(struct html *h, const char *p) |
|
Line 597 bufcat(struct html *h, const char *p) |
|
|
|
h->buflen = strlcat(h->buf, p, BUFSIZ); |
h->buflen = strlcat(h->buf, p, BUFSIZ); |
assert(h->buflen < BUFSIZ); |
assert(h->buflen < BUFSIZ); |
h->buflen--; |
|
} |
} |
|
|
void |
void |