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

Bug with HTML Entities passed to IdAttribute plugin #3398

Closed
zachleat opened this issue Aug 1, 2024 · 3 comments
Closed

Bug with HTML Entities passed to IdAttribute plugin #3398

zachleat opened this issue Aug 1, 2024 · 3 comments

Comments

@zachleat
Copy link
Member

zachleat commented Aug 1, 2024

# This is a `"heading"`

became:

<h1 id="this-is-a-and-quot-heading-and-quot">This is a <code>&quot;heading&quot;</code></h1>

Wanted output:

<h1 id="this-is-a-heading">This is a <code>&quot;heading&quot;</code></h1>
@zachleat zachleat added the bug label Aug 1, 2024
@zachleat zachleat added this to the Eleventy 3.0.0 milestone Aug 1, 2024
@zachleat
Copy link
Member Author

zachleat commented Aug 1, 2024

Adds decodeEntities: true option to IdAttribute plugin.

@zachleat zachleat added the needs-documentation Documentation for this issue/feature is pending! label Sep 20, 2024
@zachleat
Copy link
Member Author

Upstream #3363

@zachleat
Copy link
Member Author

Temporary docs preview url deploying: https://11ty-website-git-v3-11ty.vercel.app/docs/plugins/id-attribute/

@zachleat zachleat removed the needs-documentation Documentation for this issue/feature is pending! label Sep 30, 2024
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

1 participant