From 5c80ecf39bf7ac8997fb798b272516ee814822c7 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 21 Jun 2014 13:37:33 -0700 Subject: [PATCH] start/end display cannot have extra trailing whitespace --- doc/mdoc2wiki.awk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/mdoc2wiki.awk b/doc/mdoc2wiki.awk index ff263d974..cf63b8482 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 -- 2.47.2