From 77b2174baf5730218b8af6fdd129a1b0c3413bfc Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 29 Jan 2010 14:39:37 +0000 Subject: Fixed Makefile for `make lint' dep. on config.h Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't. --- html.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'html.h') diff --git a/html.h b/html.h index 7c401de6..41755bbc 100644 --- a/html.h +++ b/html.h @@ -28,7 +28,6 @@ enum htmltag { TAG_DIV, TAG_H1, TAG_H2, - TAG_P, TAG_SPAN, TAG_LINK, TAG_BR, @@ -40,7 +39,6 @@ enum htmltag { TAG_LI, TAG_UL, TAG_OL, - TAG_BASE, TAG_MAX }; @@ -105,6 +103,11 @@ struct htmlpair { do { (p)->key = ATTR_SUMMARY; \ (p)->val = (v); } while (/* CONSTCOND */ 0) +enum htmltype { + HTML_HTML_4_01_STRICT, + HTML_XHTML_1_0_STRICT +}; + struct html { int flags; #define HTML_NOSPACE (1 << 0) @@ -121,11 +124,12 @@ struct html { struct tag *metaf; enum htmlfont metal; enum htmlfont metac; + enum htmltype type; }; struct roffsu; -void print_gen_doctype(struct html *); +void print_gen_decls(struct html *); void print_gen_head(struct html *); struct tag *print_ofont(struct html *, enum htmlfont); struct tag *print_otag(struct html *, enum htmltag, -- cgit