summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/context.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/context.cxx b/cli/context.cxx
index dc748be..da6c556 100644
--- a/cli/context.cxx
+++ b/cli/context.cxx
@@ -1529,7 +1529,11 @@ format (semantics::scope& scope, string const& s, bool para)
case block::li: good = (k == block::note ||
k == block::text ||
k == block::pre ); break;
- case block::note: good = (k == block::text || k == block::pre); break;
+ case block::note: good = (k == block::text ||
+ k == block::pre ||
+ (ot == ot_html && (k == block::ul ||
+ k == block::ol ||
+ k == block::dl))); break;
case block::text: good = (k != block::li); break;
case block::pre: assert (false);
}