forked from sloum/bombadillo
Improves upon previoius fixes to gophermap parsing
This commit is contained in:
parent
d17e530667
commit
53cbb9dd02
|
@ -131,6 +131,8 @@ func parseMap(text string) (string, []string) {
|
|||
|
||||
if len(line[0]) > 1 {
|
||||
title = line[0][1:]
|
||||
} else if len(line[0]) == 1 {
|
||||
title = ""
|
||||
} else {
|
||||
title = ""
|
||||
line[0] = "i"
|
||||
|
|
Loading…
Reference in New Issue