summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-11-29 13:02:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-11-29 13:02:47 +0000
commitf849b38ca6324f49276e98a1e2cbf8972e4924bc (patch)
tree79319169d509096033a63e723d505a0eac35998e /mdoc.7
parente6058a1239e6d451ecf7f4c160eff3e3083b254d (diff)
downloadmandoc-f849b38ca6324f49276e98a1e2cbf8972e4924bc.tar.gz
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.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.73
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc.7 b/mdoc.7
index a8c83703..ba6ac2f9 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -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