From a974d4be58d9f1f741b4e1b5e0b69934a2eeacec Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 29 Nov 2010 13:02:47 +0000 Subject: Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c. Clarify that `Mt' gets a default `~' (as per groff 1.20) and document it in mdoc.7. Made `Lk' be removed in mdoc_macro.c if it has no arguments. This fixes segfaults in mdoc_{term,html}.c that nobody's managed to raise yet. --- mdoc.7 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index 47fd4464..867fdc42 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.163 2010/10/29 10:38:54 schwarze Exp $ +.\" $Id: mdoc.7,v 1.164 2010/11/29 13:02:47 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010 Kristaps Dzonsons .\" Copyright (c) 2010 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 29 2010 $ +.Dd $Mdocdate: November 29 2010 $ .Dt MDOC 7 .Os .Sh NAME @@ -2124,6 +2124,9 @@ Examples: Format a .Dq mailto: hyperlink. +If an argument is not provided, the string +.Dq \(ti +is used as a default. Its syntax is as follows: .Pp .D1 Pf \. Sx \&Mt Cm address -- cgit v1.2.3