version 1.119, 2010/12/20 10:40:11 |
version 1.121, 2010/12/22 11:15:16 |
Line 71 static const struct htmldata htmltags[TAG_MAX] = { |
|
Line 71 static const struct htmldata htmltags[TAG_MAX] = { |
|
{"p", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_P */ |
{"p", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_P */ |
{"pre", HTML_CLRLINE }, /* TAG_PRE */ |
{"pre", HTML_CLRLINE }, /* TAG_PRE */ |
{"b", 0 }, /* TAG_B */ |
{"b", 0 }, /* TAG_B */ |
|
{"i", 0 }, /* TAG_I */ |
|
{"u", 0 }, /* TAG_U */ |
|
{"code", 0 }, /* TAG_CODE */ |
}; |
}; |
|
|
static const char *const htmlfonts[HTMLFONT_MAX] = { |
static const char *const htmlfonts[HTMLFONT_MAX] = { |
Line 484 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\"?>"); |
} |
} |
|
|
|
|