aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-14 16:28:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-14 16:28:23 +0000
commite3ef897e17cf74a686ec213e362a869d4a9b77f0 (patch)
tree7e083906c57c2483457de701867f60b8ecbbcfa5 /html.h
parentbc80934db614d28c7b53a0b013dd68c4e6234c7e (diff)
downloadmandoc-e3ef897e17cf74a686ec213e362a869d4a9b77f0.tar.gz
mandoc-e3ef897e17cf74a686ec213e362a869d4a9b77f0.tar.zst
mandoc-e3ef897e17cf74a686ec213e362a869d4a9b77f0.zip
Give -Thtml and -Txhtml the gift of recognising escapes when calculating
widths (e.g., `Bl -tag -width "\s[blahblah]bar"). This has long since been done for -Tascii but escaped noticed with -T[x]html.
Diffstat (limited to 'html.h')
-rw-r--r--html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.h b/html.h
index 89dd7c63..35fb6c67 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.41 2011/04/29 22:18:12 kristaps Exp $ */
+/* $Id: html.h,v 1.42 2011/05/14 16:28:23 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -155,6 +155,7 @@ void bufncat(struct html *, const char *, size_t);
void bufinit(struct html *);
void html_idcat(char *, const char *, int);
+int html_strlen(const char *);
__END_DECLS