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

Feature request: leave A tags with in-page targets (# sign) as is #357

Open
Pierric82 opened this issue Jan 16, 2025 · 0 comments
Open

Feature request: leave A tags with in-page targets (# sign) as is #357

Pierric82 opened this issue Jan 16, 2025 · 0 comments

Comments

@Pierric82
Copy link

This comes from a wallabag use case (see here for context). This probably applies to other use cases in RSS readers.

Currently for pages with footnotes, where links typically will be to #something, the full original URL is inserted when the article is saved. In other words, the link is changed from #something to https://website.com/article#something. This means that clicking the link in wallabag opens the original article. However, the name attribute of A tags is preserved, so if the link was saved as #something without modification, I believe one could navigate to/from the footnotes without changing pages.

Therefore I'd suggest ensuring that A tags with href starting with a hash sign # do not get transformed to include the original URL, but instead are left untouched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants