Merge pull request #14 from YtvwlD/missing-tabs

Re-add missing tabs in gophermaps
This commit is contained in:
Kim 2020-05-06 13:28:56 +01:00 committed by GitHub
commit 7e46973475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,6 +257,10 @@ func replaceStrings(str string, connHost *ConnHost) []byte {
b := make([]byte, 0)
for i := range split {
/* Re-add the tabs that we removed when splitting */
if (i < 3) {
split[i] += Tab
}
b = append(b, []byte(split[i])...)
}
return b