version 1.118, 2010/12/17 10:37:26 |
version 1.121, 2010/12/22 11:15:16 |
Line 70 static const struct htmldata htmltags[TAG_MAX] = { |
|
Line 70 static const struct htmldata htmltags[TAG_MAX] = { |
|
{"blockquote", HTML_CLRLINE}, /* TAG_BLOCKQUOTE */ |
{"blockquote", HTML_CLRLINE}, /* TAG_BLOCKQUOTE */ |
{"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 */ |
|
{"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 79 static const char *const htmlfonts[HTMLFONT_MAX] = { |
|
Line 83 static const char *const htmlfonts[HTMLFONT_MAX] = { |
|
}; |
}; |
|
|
static const char *const htmlattrs[ATTR_MAX] = { |
static const char *const htmlattrs[ATTR_MAX] = { |
"http-equiv", |
"http-equiv", /* ATTR_HTTPEQUIV */ |
"content", |
"content", /* ATTR_CONTENT */ |
"name", |
"name", /* ATTR_NAME */ |
"rel", |
"rel", /* ATTR_REL */ |
"href", |
"href", /* ATTR_HREF */ |
"type", |
"type", /* ATTR_TYPE */ |
"media", |
"media", /* ATTR_MEDIA */ |
"class", |
"class", /* ATTR_CLASS */ |
"style", |
"style", /* ATTR_STYLE */ |
"width", |
"width", /* ATTR_WIDTH */ |
"valign", |
"id", /* ATTR_ID */ |
"target", |
"summary", /* ATTR_SUMMARY */ |
"id", |
"align", /* ATTR_ALIGN */ |
"summary", |
|
}; |
}; |
|
|
static void print_spec(struct html *, enum roffdeco, |
static void print_spec(struct html *, enum roffdeco, |
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\"?>"); |
} |
} |
|
|
|
|