summaryrefslogtreecommitdiffstats
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
commit9be0958735739b7b5ce4a0b907fa3bca75b69020 (patch)
tree0a1f05540cce5ecec858c6c43be4472daa1c21be /html.h
parenteedf2a6a20e607030a337dbbed7a2c8ba56f7082 (diff)
downloadmandoc-9be0958735739b7b5ce4a0b907fa3bca75b69020.tar.gz
Added "summary" tag to tables in order to silence HTML-tidy's complaints.
Diffstat (limited to 'html.h')
-rw-r--r--html.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/html.h b/html.h
index 9a1df429..ad1230a6 100644
--- a/html.h
+++ b/html.h
@@ -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;