diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 14:52:16 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 14:52:16 +0000 |
commit | efa87866a855becaff960fbe4eb82650963dd251 (patch) | |
tree | b3f945b9c0b14dea33972b2964a08ca4de8f1b78 /html.h | |
parent | 3ba7e2970c056ac74cdea3501302bb3151ca70d0 (diff) | |
download | mandoc-efa87866a855becaff960fbe4eb82650963dd251.tar.gz mandoc-efa87866a855becaff960fbe4eb82650963dd251.tar.zst mandoc-efa87866a855becaff960fbe4eb82650963dd251.zip |
In-progress move from -T[x]html using DIVs for its lists to using DL,
OL, and UL. Issue raised by Will Backman, solution proposed by
schwarze@.
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.27 2010/07/23 00:08:57 kristaps Exp $ */ +/* $Id: html.h,v 1.28 2010/12/15 14:52:16 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -33,12 +33,16 @@ enum htmltag { TAG_BR, TAG_A, TAG_TABLE, + TAG_TBODY, TAG_COL, TAG_TR, TAG_TD, TAG_LI, TAG_UL, TAG_OL, + TAG_DL, + TAG_DT, + TAG_DD, TAG_MAX }; @@ -72,18 +76,9 @@ struct tag { enum htmltag tag; }; -struct ord { - struct ord *next; - const void *cookie; - int pos; -}; - struct tagq { struct tag *head; }; -struct ordq { - struct ord *head; -}; struct htmlpair { enum htmlattr key; @@ -115,7 +110,6 @@ struct html { #define HTML_PREKEEP (1 << 3) #define HTML_NONOSPACE (1 << 4) struct tagq tags; - struct ordq ords; void *symtab; char *base; char *base_man; |