From efa87866a855becaff960fbe4eb82650963dd251 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 15 Dec 2010 14:52:16 +0000 Subject: 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@. --- html.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'html.h') diff --git a/html.h b/html.h index b2f9e8c3..daaad743 100644 --- a/html.h +++ b/html.h @@ -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 * @@ -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; -- cgit v1.2.3