diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-14 16:28:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-14 16:28:23 +0000 |
commit | e3ef897e17cf74a686ec213e362a869d4a9b77f0 (patch) | |
tree | 7e083906c57c2483457de701867f60b8ecbbcfa5 /html.h | |
parent | bc80934db614d28c7b53a0b013dd68c4e6234c7e (diff) | |
download | mandoc-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |