mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
refactor: fix email formatting of users printout using glamour
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user