summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-09-05 13:35:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-09-05 13:35:04 +0000
commitf00c74d1aff97f47391d0a8652a8772045c5704c (patch)
tree7f6a56de04169e4631fec026d2438392813545cf /term.h
parent846abaad420f1713db39bc28470b6de80953c692 (diff)
downloadmandoc-f00c74d1aff97f47391d0a8652a8772045c5704c.tar.gz
Do not clear HTML_NOSPACE in print_indent().
I don't think there ever was a reason for doing so. Besides, there is a discrepacy with respect to the point in the document affected. That flag controls whitespace at the current formatting point. But when HTML_BUFFER is in effect, the line break and indentation is typically inserted one word further to the left. Anything happening at that point to the left can't reasonably influence spacing at the different point further to the right. Among other effects, this change avoids some spurious line breaks in HTML code at points where they weren't supposed to happen, line breaks that in some cases caused undesirable, visible whitespace when the resulting HTML was rendered.
Diffstat (limited to 'term.h')
0 files changed, 0 insertions, 0 deletions