]> git.cameronkatri.com Git - mandoc.git/commit
Indentation must be measured in units of the surrounding text,
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 8 Jan 2017 22:51:55 +0000 (22:51 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 8 Jan 2017 22:51:55 +0000 (22:51 +0000)
commitd5f546d82f5e5c88fe3f55abddb6ad82393ee6fd
treeb18184f7fdc02a390b08f7306fa70a9202a240fb
parentba15fe5a9c8e3a3851506453220bacfec09c8ff5
Indentation must be measured in units of the surrounding text,
not in units of the contained text.  Consequently, "display"
and "lit" class tags must not be on the same element:  First,
"display" must set up the indentation, still using the outer
units, and only after that, "lit" may change the font.

This fixes .Bd -literal which got the wrong indentation.
Bug reported by tb@.
mdoc_html.c