From f4e2bea03af5db066b557b68d08cdc19dae3ad88 Mon Sep 17 00:00:00 2001 From: kaa Date: Sat, 9 Dec 2023 13:31:13 -0800 Subject: Newline added to tableHead, but not to tableFoot. --- ref.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ref.go') diff --git a/ref.go b/ref.go index 7d62f3b..206b351 100644 --- a/ref.go +++ b/ref.go @@ -42,7 +42,7 @@ func interpEscape(str string) string { rt += string(str[i]) } } - return rt + "\n" + return rt } func getRefTxt(lines []string) string { @@ -131,7 +131,7 @@ Below is an example. .\"ยง#.TS\nexpand;\nl1w(1.5i) l1w(4.5i).#.TE#()#\fC#\fP The final two arguments in that example are optional.`) } - tableHead = interpEscape(words[1]) + tableHead = interpEscape(words[1] + "\n") tableFoot = interpEscape(words[2]) delim = words[3] if wc > 4 { -- cgit v1.2.3