summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2023-12-09 13:31:13 -0800
committerkaa <kaa@disroot.org>2023-12-09 13:31:13 -0800
commitf4e2bea03af5db066b557b68d08cdc19dae3ad88 (patch)
tree9db816674b24c259ad342800ba468fb55657b357
parente56eb9d1b5f5ba1b3cb8025d5e0350654765592a (diff)
Newline added to tableHead, but not to tableFoot.
-rw-r--r--ref.go4
1 files changed, 2 insertions, 2 deletions
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 {