summaryrefslogtreecommitdiffstats
path: root/markup/markup.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-05-25 18:46:42 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-05-28 10:56:54 +0200
commit3b478f50b7408ad78d085fa6dbc3c7a683c9d943 (patch)
tree1a2250fc8686beee6ee1d999a0d158f1edbbfe4c /markup/markup.go
parentf343b8eb7877c857c23dd5f0b554024b7682de3a (diff)
Fix HasMenuCurrent and IsDescendant/IsAncestor when comparing to itself
There may be sites in the wild that depends on the faulty behaviour of IsDescendant/IsAncestor when comparing to itself, but * The documentation and common sense says that a thing cannot be descendant or ancestor to itself. * The bug introduced in `HasMenuCurrent` comes directly from that confusion. Fixes #9846
Diffstat (limited to 'markup/markup.go')
0 files changed, 0 insertions, 0 deletions