version 1.120, 2010/12/20 13:07:55 |
version 1.121, 2010/12/22 11:15:16 |
Line 73 static const struct htmldata htmltags[TAG_MAX] = { |
|
Line 73 static const struct htmldata htmltags[TAG_MAX] = { |
|
{"b", 0 }, /* TAG_B */ |
{"b", 0 }, /* TAG_B */ |
{"i", 0 }, /* TAG_I */ |
{"i", 0 }, /* TAG_I */ |
{"u", 0 }, /* TAG_U */ |
{"u", 0 }, /* TAG_U */ |
|
{"code", 0 }, /* TAG_CODE */ |
}; |
}; |
|
|
static const char *const htmlfonts[HTMLFONT_MAX] = { |
static const char *const htmlfonts[HTMLFONT_MAX] = { |
Line 486 print_xmltype(struct html *h) |
|
Line 487 print_xmltype(struct html *h) |
|
{ |
{ |
|
|
if (HTML_XHTML_1_0_STRICT == h->type) |
if (HTML_XHTML_1_0_STRICT == h->type) |
printf("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); |
puts("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); |
} |
} |
|
|
|
|