]> git.cameronkatri.com Git - mandoc.git/commit
Skipping all escape sequences at the beginning of strings in deroff()
authorIngo Schwarze <schwarze@openbsd.org>
Thu, 12 Jan 2017 18:02:20 +0000 (18:02 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Thu, 12 Jan 2017 18:02:20 +0000 (18:02 +0000)
commit118689aa2e6ecb08ee82301bd70a70d41d1fea96
tree4797311def1c3e497d16ad0fe1864afe2a67d1f5
parent4fdc8558c5d198e182cb2f69447d3a16f5f8bbb2
Skipping all escape sequences at the beginning of strings in deroff()
was too aggressive.  There are strings that legitimately begin with
an escape sequence.  Only skip leading escape sequences representing
whitespace.

Bug reported by martijn@.
roff.c