]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
start/end display cannot have extra trailing whitespace
authorTim Kientzle <kientzle@acm.org>
Sat, 21 Jun 2014 20:37:33 +0000 (13:37 -0700)
committerTim Kientzle <kientzle@acm.org>
Sat, 21 Jun 2014 20:37:33 +0000 (13:37 -0700)
doc/mdoc2wiki.awk

index ff263d974b8ebd9da498d2568e623507ddd7f31a..cf63b8482362ee7cc0cafedd5695396f5aa42ec0 100755 (executable)
@@ -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