Skip to content

fix(core/utils): register unquoted form for quoted enum-value dfns#5291

Draft
marcoscaceres wants to merge 1 commit into
mainfrom
fix/4615-quoted-enum-value-dfn
Draft

fix(core/utils): register unquoted form for quoted enum-value dfns#5291
marcoscaceres wants to merge 1 commit into
mainfrom
fix/4615-quoted-enum-value-dfn

Conversation

@marcoscaceres
Copy link
Copy Markdown
Contributor

Closes #4615

Authors sometimes write <dfn data-dfn-type="enum-value">"value"</dfn>
with surrounding quotes to mirror WebIDL syntax. getDfnTitles() now
also registers the unquoted form so webidl.js lookup and inline
{{ EnumType/"value" }} refs can resolve to the user-provided dfn
instead of auto-generating a duplicate.

Closes #4615
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.

Defining quoted enum values should be supported

1 participant