diff --git a/gopher/itemtype.go b/gopher/itemtype.go index 07fd169..1e7750e 100644 --- a/gopher/itemtype.go +++ b/gopher/itemtype.go @@ -177,10 +177,14 @@ func parseLineType(line string) ItemType { } return typeUnknown } else if !strings.Contains(line, "\t") { - // The only accepted types for length >= 1 and with a tab + // The only accepted types for length >= 1 and without a tab if t == typeComment || t == typeTitle || - t == typeInfo || +// Not typeInfo, otherwise this +// messes with the ability for people +// to have lines with words beginning 'i' +// +// t == typeInfo || t == typeHiddenFile || t == typeSubGophermap { return t