From e3ef897e17cf74a686ec213e362a869d4a9b77f0 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 14 May 2011 16:28:23 +0000 Subject: 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. --- html.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html.h') 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 * @@ -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 -- cgit v1.2.3-56-ge451