From 739c1eaf9cb6f5ff01a9c080620dfb1542000215 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 29 Jan 2011 14:49:44 +0000 Subject: When in a
, don't print out the 
before lines that have leading whitespace. --- html.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'html.h') diff --git a/html.h b/html.h index da31f2ed..561d06e2 100644 --- a/html.h +++ b/html.h @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.39 2011/01/13 14:30:13 kristaps Exp $ */ +/* $Id: html.h,v 1.40 2011/01/29 14:49:44 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -111,11 +111,12 @@ enum htmltype { struct html { int flags; -#define HTML_NOSPACE (1 << 0) +#define HTML_NOSPACE (1 << 0) /* suppress next space */ #define HTML_IGNDELIM (1 << 1) #define HTML_KEEP (1 << 2) #define HTML_PREKEEP (1 << 3) -#define HTML_NONOSPACE (1 << 4) +#define HTML_NONOSPACE (1 << 4) /* never add spaces */ +#define HTML_LITERAL (1 << 5) /* literal (e.g.,
) context */
 	struct tagq	  tags; /* stack of open tags */
 	struct rofftbl	  tbl; /* current table */
 	struct tag	 *tblt; /* current open table scope */
-- 
cgit v1.2.3