As of Spine 1.4.0, an active child would also set active and dogeared on the parent of that list before that parent itself was cloned into an overview anchor. This caused both the original child and the Overview page to be marked as active dogeared and bold in the display.
A few things in this PR as part of the solution:
Remove and consolidate a few pieces of test HTML that are not in use.
Generate an overview page for the Responsive Grids section to use for testing.
Short circuit Overview creation if a parent has an # value in its href attribute. This is an enhancement and speeds up the processing of large menus where many parents may have been previously been processed unnecessarily.
And then actually fix the bug - Process couplets in Overview anchors before checking for active states. This avoids the clone of extra, misleading data.
As of Spine 1.4.0, an active child would also set
active
anddogeared
on the parent of that list before that parent itself was cloned into an overview anchor. This caused both the original child and the Overview page to be marked asactive dogeared
and bold in the display.A few things in this PR as part of the solution:
#
value in itshref
attribute. This is an enhancement and speeds up the processing of large menus where many parents may have been previously been processed unnecessarily.