CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2012/07/16 03:51:03
Modified files: usr.bin/mandoc : mdoc.c mdoc_validate.c regress/usr.bin/mandoc/mdoc/blank: line.in line.out_ascii Log message: Several -mdoc parser improvements related to vertical spacing: * So far, .Pp and .Lp were removed before paragraph type blocks. * Now also remove .br before paragraph type blocks. * Treat .Lp as a paragraph like .Pp, so remove .Pp, .Lp, .br before it. * Do not treat .sp as a paragraph, don't remove anything before it. * After .Sh, .Ss, .Pp, and .Lp, remove .Pp, .Lp, .sp, .br, and blank lines. * After .sp and .br, remove .br.