mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-03 11:57:45 +00:00
Update vendor for next release (#1343)
This commit is contained in:
4
vendor/github.com/mattn/godown/godown.go
generated
vendored
4
vendor/github.com/mattn/godown/godown.go
generated
vendored
@ -303,10 +303,10 @@ func walk(node *html.Node, w io.Writer, nest int, option *Option) {
|
||||
walk(c, &buf, 1, option)
|
||||
if lines := strings.Split(strings.TrimSpace(buf.String()), "\n"); len(lines) > 0 {
|
||||
for i, l := range lines {
|
||||
if i > 0 || nest > 0 {
|
||||
if i > 0 {
|
||||
fmt.Fprint(w, "\n")
|
||||
}
|
||||
fmt.Fprint(w, strings.Repeat(" ", nest)+strings.TrimSpace(l))
|
||||
fmt.Fprint(w, strings.Repeat(" ", nest)+l)
|
||||
}
|
||||
fmt.Fprint(w, "\n")
|
||||
}
|
||||
|
Reference in New Issue
Block a user