Do not raise "Anchor not lowercase" flaw when the anchor is a fragment directive #8313
Closed
3 tasks done
Labels
enhancement
Improves an existing feature.
flaw-system
issues and feature requests related to the flaws system
has PR
Issues that already have a PR
macros
tracking issues related to kumascript macros
p3
We don't have visibility when this will be addressed.
wx
writer experience
Summary
Yari raises an Anchor not lowercase flaw when internal URL anchors have uppercase letters. This is good, and it allows us to detect and fix them (we have fixed almost all of them).
Text fragments is an extension to the anchor system that allows linking to a portion of text in a web document. Unlike traditional anchors, they are not set by the web page author.
We have two links to demonstrate this new feature on this page. They are flagged as flaws and shouldn't be.
URL
https://developer.mozilla.org/en-US/docs/Web/Text_fragments
Reproduction steps
Expected behavior
No Anchor not lowercase flaw for anchors starting with the fragment directive (
:~:
).Actual behavior
An Anchor not lowercase flaw listed for each anchor starting with the fragment directive (
:~:
).Device
Desktop
Browser
Chrome
Browser version
Stable
Operating system
Android
Screenshot
Anything else?
To fix this, we should always prevent fragments starting with
:~:
from raising a flaw.Validations
The text was updated successfully, but these errors were encountered: