refactor: fix email formatting of users printout using glamour

This commit is contained in:
Slug-Boi
2024-11-01 09:13:00 +01:00
parent 79e09d44b3
commit 6ef0ad3b5b
+3 -2
View File
@@ -108,8 +108,9 @@ func loadData(author_file string) {
cnt.WriteString(header + "\n") cnt.WriteString(header + "\n")
for scanner.Scan() { for scanner.Scan() {
//very hacky it basically just ensure glamour doesn't format the email //very hacky it basically just ensure glamour doesn't format the email whole line as an email
cnt.WriteString(":\b" + scanner.Text() + "\n") // if only the styling had options for what to format grrrrrrr
cnt.WriteString("" + scanner.Text() + "\n")
} }
content = cnt.String() content = cnt.String()