Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow links with empty fragment #1756

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Conversation

mwcz
Copy link
Contributor

@mwcz mwcz commented Feb 8, 2022

fixes #1754

This makes links with an empty fragment (ex: [link to nothing](#)) pass the link checker.

IMPORTANT: Please do not create a Pull Request adding a new feature without discussing it first.

The place to discuss new features is the forum: https://zola.discourse.group/
If you want to add a new feature, please open a thread there first in the feature requests section.

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • Have you created/updated the relevant documentation page(s)? There's no relevant documentation that I could find (nor is any needed, IMO).

@mwcz mwcz force-pushed the allow-empty-anchors branch from bc25348 to 1389d5d Compare February 8, 2022 22:03
Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Keats Keats merged commit 1a0497f into getzola:next Feb 9, 2022
Keats pushed a commit that referenced this pull request Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants