aboutsummaryrefslogtreecommitdiff
path: root/doc/mdoc2wiki.awk
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mdoc2wiki.awk')
-rw-r--r--doc/mdoc2wiki.awk8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/mdoc2wiki.awk b/doc/mdoc2wiki.awk
index 146d9619824f..fcccd9b3a2b6 100644
--- a/doc/mdoc2wiki.awk
+++ b/doc/mdoc2wiki.awk
@@ -255,10 +255,7 @@ function splitwords(l, dest, n, o, w) {
} else if(match(words[w],"^Nd$")) {
add("- " wtail())
} else if(match(words[w],"^Fl$")) {
- if (displaylines == 0)
- add("*-" words[++w] "*")
- else
- add("-" words[++w])
+ addopen("-")
} else if(match(words[w],"^Ar$")) {
if(w==nwords)
add("_file ..._")
@@ -422,6 +419,9 @@ function splitwords(l, dest, n, o, w) {
addpunct("<li>")
listnext[listdepth] = "</li>"
}
+ } else if(match(words[w], "^Vt$")) {
+ w++
+ add("_" words[w] "_")
} else if(match(words[w],"^Xo$")) {
# TODO: Figure out how to handle this
} else if(match(words[w],"^Xc$")) {