summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-03-02 00:39:00 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-03-02 00:39:00 +0000
commit038ab018e83805ffd7295eb1d96d2eba5f39b351 (patch)
tree40615593ece0dbe15d0236d2a533dd64649fdfed /usr.bin/mandoc/man_html.c
parentff35626491e806b44f055b355277d2e9beeb458b (diff)
Proper inter-sentence spacing for mdoc(7).
When a text line or a non-block macro line in the source code ends in any of ".!?", consider that an end of sentence (EOS). This makes Jason's rule "new sentence, new line" even more important. Let the parser detect the EOS and insert a token into the AST. Let the -Tascii frontend render the EOS token as a double space before the next word.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
0 files changed, 0 insertions, 0 deletions