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

Some macros erroneously report case mismatch #129

Closed
bsmth opened this issue Feb 12, 2025 · 1 comment
Closed

Some macros erroneously report case mismatch #129

bsmth opened this issue Feb 12, 2025 · 1 comment

Comments

@bsmth
Copy link
Member

bsmth commented Feb 12, 2025

What information was incorrect, unhelpful, or incomplete?

There are some usages of macros that are reported as flaws, for example:

{{htmlelement("Heading_Elements", "h1")}}

Reports

/en-US/docs/Web/HTML/Element/heading_elements is ill cased

and:

Macro produces link /en-US/docs/Web/HTML/Element/heading_elements which is a redirect

Although the document is https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

https://github.com/mdn/content/blob/32a1f3fd761455da4ac94e89e50efb07fb322b76/files/en-us/web/html/element/heading_elements/index.md?plain=1#L3

What did you expect to see?

No flaw(s) reported in this case.

Do you have any supporting links, references, or citations?

mdn/content#38125 (comment)

Do you have anything more you want to share?

Reproducible with:

Something {{htmlelement("Heading_Elements", "h1")}} here

The following appears to work as expected:

{{glossary("rate_limit", "thing")}}

In that it's reporting no flaws when case is correct, and a flaw when there's a case mismatch for https://developer.mozilla.org/en-US/docs/Glossary/Rate_limit

@bsmth bsmth added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 12, 2025
@fiji-flo
Copy link
Contributor

solved via 4e331b3

@bsmth bsmth removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 17, 2025
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

No branches or pull requests

2 participants