-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.help wantedpkgsitepkgsite/dochtmlIssues related to package documentation in pkgsiteIssues related to package documentation in pkgsite
Milestone
Description
synopsis here (I believe this is the line https://github.com/golang/pkgsite/blob/master/content/static/html/pages/subdirectories.tmpl#L19) looks really awkward
as opposed to the
may I suggest rendering that synopsis to html and removing all non text html elements from that section? something like this might work
depth := 0
summary := bytes.NewBuffer(nil)
for {
tt := z.Next()
switch tt {
case html.ErrorToken:
break
case html.TextToken:
summary.Write(z.Text())
}
return summary.String()
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.help wantedpkgsitepkgsite/dochtmlIssues related to package documentation in pkgsiteIssues related to package documentation in pkgsite