diff options
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/mdoc2wiki.awk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/mdoc2wiki.awk b/doc/mdoc2wiki.awk index c22b4f64..271fbedf 100755 --- a/doc/mdoc2wiki.awk +++ b/doc/mdoc2wiki.awk @@ -345,7 +345,9 @@ function splitwords(l, dest, n, o, w) { } else if(match(words[w],"^S[xy]$")) { add(".B " wtail()) } else if(match(words[w],"^Tn$")) { - add("*" wtail() "*") + n=wtail() + gsub("\\*$", "`*`", n) + add("*" n "*") } else if(match(words[w],"^Ic$")) { add("\\fB") trailer="\\fP" trailer |