aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 10:56:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 10:56:18 +0000
commitb07dd6c350bce1c02478510cb107456ba375dfe4 (patch)
treea0fdd6d3d906eebe2dded5e9305c1a36d23ac8c9 /html.h
parentb3f49705f54dd0c371648ec0b3db49c6970b1a9b (diff)
downloadmandoc-b07dd6c350bce1c02478510cb107456ba375dfe4.tar.gz
mandoc-b07dd6c350bce1c02478510cb107456ba375dfe4.tar.zst
mandoc-b07dd6c350bce1c02478510cb107456ba375dfe4.zip
Remove <p> in favour of <div class="spacer">.
This is good because <p> is brittle: it can't appear within other block macros. This fixes a regression of the original HTML5 patch as noted by schwarze@ on the tech@ list, 14/8/2014.
Diffstat (limited to 'html.h')
-rw-r--r--html.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.h b/html.h
index a9a58430..5b67eca7 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.60 2014/09/27 09:26:01 kristaps Exp $ */
+/* $Id: html.h,v 1.61 2014/09/27 10:56:18 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -44,7 +44,6 @@ enum htmltag {
TAG_DT,
TAG_DD,
TAG_BLOCKQUOTE,
- TAG_P,
TAG_PRE,
TAG_B,
TAG_I,
@@ -144,6 +143,7 @@ void print_text(struct html *, const char *);
void print_tblclose(struct html *);
void print_tbl(struct html *, const struct tbl_span *);
void print_eqn(struct html *, const struct eqn *);
+void print_paragraph(struct html *);
#if __GNUC__ - 0 >= 4
__attribute__((__format__ (__printf__, 2, 3)))