shithub: mycel

Download patch

ref: 780d55cb042d7d8e892b25c1368355e0358b1969
parent: 1d50aea6c14615b107116dac70e71454099ece5d
author: Philip Silva <philip.silva@protonmail.com>
date: Tue May 11 13:43:56 EDT 2021

tabs -> 4 spaces

--- a/nodes/nodes.go
+++ b/nodes/nodes.go
@@ -80,6 +80,7 @@
 // filterText removes line break runes (TODO: add this later but handle properly) and maps runes to canonical widths
 func filterText(t string) string {
 	t = strings.ReplaceAll(t, "­", "")
+	t = strings.ReplaceAll(t, "\t", "    ")
 	return t
 }