diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-29 14:49:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-29 14:49:44 +0000 |
commit | 640a3cb4e4b0817868c63e57d68bbbf3229fb254 (patch) | |
tree | b967b9c40f409292f7a8d5a23a6df62e38050831 /html.h | |
parent | 488122cea4707e12b07fcc3116f7b07b4ddd7ab0 (diff) | |
download | mandoc-640a3cb4e4b0817868c63e57d68bbbf3229fb254.tar.gz |
When in a <PRE>, don't print out the <BR> before lines that have leading
whitespace.
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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., <PRE>) context */ struct tagq tags; /* stack of open tags */ struct rofftbl tbl; /* current table */ struct tag *tblt; /* current open table scope */ |