summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/mdoc2wiki.awk6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/mdoc2wiki.awk b/doc/mdoc2wiki.awk
index ff263d97..cf63b848 100755
--- a/doc/mdoc2wiki.awk
+++ b/doc/mdoc2wiki.awk
@@ -123,12 +123,14 @@ function crossref(name, sect, other) {
# Start an indented display
function dispstart() {
- linecmd("```text")
+ endline()
+ print "```text"
}
# End an indented display
function dispend() {
- linecmd("```")
+ endline()
+ print "```"
}
# Collect rest of input line