summaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-27 04:50:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-27 04:50:14 +0000
commit9983872ebac8cb96fc8b75c6ba548d8417e5d5d3 (patch)
treef1296c133de4c655d9aafb8bf20a4f3b5718cb51 /html.h
parent4bc3e1e460ff4491fd78fa2f9fdbed1a8db3681a (diff)
downloadmandoc-9983872ebac8cb96fc8b75c6ba548d8417e5d5d3.tar.gz
mandoc-9983872ebac8cb96fc8b75c6ba548d8417e5d5d3.tar.zst
mandoc-9983872ebac8cb96fc8b75c6ba548d8417e5d5d3.zip
Added "summary" tag to tables in order to silence HTML-tidy's complaints.
Diffstat (limited to 'html.h')
-rw-r--r--html.h6
1 files changed, 5 insertions, 1 deletions
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 <kristaps@kth.se>
*
@@ -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;