From 9983872ebac8cb96fc8b75c6ba548d8417e5d5d3 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 27 Oct 2009 04:50:14 +0000 Subject: Added "summary" tag to tables in order to silence HTML-tidy's complaints. --- html.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'html.h') diff --git a/html.h b/html.h index ea2b98c6..b20d08d5 100644 --- a/html.h +++ b/html.h @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.14 2009/10/26 08:18:16 kristaps Exp $ */ +/* $Id: html.h,v 1.15 2009/10/27 04:50:14 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -58,6 +58,7 @@ enum htmlattr { ATTR_VALIGN, ATTR_TARGET, ATTR_ID, + ATTR_SUMMARY, ATTR_MAX }; @@ -93,6 +94,9 @@ struct htmlpair { #define PAIR_STYLE_INIT(p, h) \ do { (p)->key = ATTR_STYLE; \ (p)->val = (h)->buf; } while (/* CONSTCOND */ 0) +#define PAIR_SUMMARY_INIT(p, v) \ + do { (p)->key = ATTR_SUMMARY; \ + (p)->val = (v); } while (/* CONSTCOND */ 0) struct html { int flags; -- cgit v1.2.3-56-ge451