Skip to content

Leave attributes unfiltered if html.WithUnsafe()#520

Open
Teajey wants to merge 1 commit intoyuin:masterfrom
Teajey:unsafe-no-filter-attributes
Open

Leave attributes unfiltered if html.WithUnsafe()#520
Teajey wants to merge 1 commit intoyuin:masterfrom
Teajey:unsafe-no-filter-attributes

Conversation

@Teajey
Copy link
Copy Markdown

@Teajey Teajey commented Jul 13, 2025

I made this change so that I could use an ASTTransformer to add HTMX attributes to my links. I understand it's a breaking change to goldmark's public API in this form, and so unlikely to get merged. But I thought I'd leave it here just in case

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.

1 participant