Skip to content

If an element has: [href="./"] then assert_no_broken_links() fails #2219

@mdmintz

Description

@mdmintz

If an element has: [href="./"] then assert_no_broken_links() fails

It's actually a valid href, which is just a link back to that same page.

Here's an example of that, where there's a link to Syntax Formats from the Syntax Formats page:

Screenshot 2023-10-28 at 10 32 19 PM

Also affects assert_no_404_errors(), which is a clone of assert_no_broken_links().


There's also a separate issue regarding hrefs that start with ../. I'll probably just fix that as part of this ticket.

Metadata

Metadata

Assignees

Labels

bugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions