diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-05 10:16:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-05 10:16:01 +0000 |
commit | 95fc1e3bcc07ff4d287d29ee96a96e7dba69cc33 (patch) | |
tree | 259071a35725515ff6f19d15c9e14e26b34fabc0 /html.c | |
parent | 54c1839bf6facda8803778f0b1a0f625de1b7e03 (diff) | |
download | mandoc-95fc1e3bcc07ff4d287d29ee96a96e7dba69cc33.tar.gz |
Documented that `\s' and `\f' don't work in HTML mode (and why).
Added support for recognising the many forms of `\s' (doesn't yet render).
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -270,21 +270,19 @@ print_escape(struct html *h, const char **p) return; } - switch (*wp) { - case ('B'): - /* TODO */ - break; - case ('I'): - /* TODO */ - break; - case ('P'): - /* FALLTHROUGH */ - case ('R'): - /* TODO */ - break; - default: - break; - } + /* + * These aren't supported, as they're symmetry-breaking + * constructs that don't play well with hierarchical + * mark-up. Consider: + * + * \fBHello. + * .PP + * World. + * + * The style started before "Hello" wouldn't be able to + * propogate into the next `PP' because we'd exit the + * current paragraph's scope. + */ *p = wp; return; |