mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
committed by
Lunny Xiao
parent
b209531959
commit
33ad554800
2
vendor/golang.org/x/net/html/node.go
generated
vendored
2
vendor/golang.org/x/net/html/node.go
generated
vendored
@ -177,7 +177,7 @@ func (s *nodeStack) index(n *Node) int {
|
||||
// contains returns whether a is within s.
|
||||
func (s *nodeStack) contains(a atom.Atom) bool {
|
||||
for _, n := range *s {
|
||||
if n.DataAtom == a {
|
||||
if n.DataAtom == a && n.Namespace == "" {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user