summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@acm.org>2014-06-21 13:37:33 -0700
committerTim Kientzle <kientzle@acm.org>2014-06-21 13:37:33 -0700
commit5c80ecf39bf7ac8997fb798b272516ee814822c7 (patch)
treed09d7839bedba193b29e42967d523820265fb47c /doc
parent0ef0a16288a907e888c29d7526fc65014fbeb5c4 (diff)
downloadlibarchive-5c80ecf39bf7ac8997fb798b272516ee814822c7.tar.gz
start/end display cannot have extra trailing whitespace
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