-
-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: flag to toggle trailing / for arial-current
- Implement handling of situation where a non-root href with a trailing slash only matching exact trailing slash and not the other version, for example, an `href="/item/"': - location="/item" will not match; - location="/item/" will match, and thus aria-current="page" set. - Relevant comment in test has been amended, but this opened up the other solution where only the immediate parent location should have the flag set.
- Loading branch information
1 parent
ba9a03a
commit 4c5221e
Showing
1 changed file
with
148 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters