diff options
author | kaa <kaa@disroot.org> | 2023-12-09 13:31:13 -0800 |
---|---|---|
committer | kaa <kaa@disroot.org> | 2023-12-09 13:31:13 -0800 |
commit | f4e2bea03af5db066b557b68d08cdc19dae3ad88 (patch) | |
tree | 9db816674b24c259ad342800ba468fb55657b357 /ref.go | |
parent | e56eb9d1b5f5ba1b3cb8025d5e0350654765592a (diff) |
Newline added to tableHead, but not to tableFoot.
Diffstat (limited to 'ref.go')
-rw-r--r-- | ref.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |