version 1.108, 2010/07/21 20:35:03 |
version 1.109, 2010/07/23 00:08:57 |
Line 417 print_otag(struct html *h, enum htmltag tag, |
|
Line 417 print_otag(struct html *h, enum htmltag tag, |
|
printf(" "); |
printf(" "); |
} |
} |
|
|
|
if ( ! (h->flags & HTML_NONOSPACE)) |
|
h->flags &= ~HTML_NOSPACE; |
|
|
/* Print out the tag name and attributes. */ |
/* Print out the tag name and attributes. */ |
|
|
printf("<%s", htmltags[tag].name); |
printf("<%s", htmltags[tag].name); |
Line 544 print_text(struct html *h, const char *word) |
|
Line 547 print_text(struct html *h, const char *word) |
|
|
|
assert(word); |
assert(word); |
if ( ! print_encode(h, word, 0)) |
if ( ! print_encode(h, word, 0)) |
h->flags &= ~HTML_NOSPACE; |
if ( ! (h->flags & HTML_NONOSPACE)) |
|
h->flags &= ~HTML_NOSPACE; |
|
|
/* |
/* |
* Note that we don't process the pipe: the parser sees it as |
* Note that we don't process the pipe: the parser sees it as |