Skip to content

fix: proxy escaping characters#1321

Merged
a-h merged 1 commit intoa-h:mainfrom
MilkeeyCat:pr_fix_proxy_escaping_characters
Jan 16, 2026
Merged

fix: proxy escaping characters#1321
a-h merged 1 commit intoa-h:mainfrom
MilkeeyCat:pr_fix_proxy_escaping_characters

Conversation

@MilkeeyCat
Copy link
Copy Markdown
Contributor

The bug was introduced in #1271. Token's String method(https://cs.opensource.google/go/x/net/+/master:html/token.go;l=105) escapes tag body text, which shouldn't happen. String method is replaced by Raw which makes sense imo because the html is already produced by templ, there's no need to format/process it again.

fixes #1316

@a-h
Copy link
Copy Markdown
Owner

a-h commented Jan 16, 2026

Nice find. Thanks!

@a-h a-h merged commit cf6235a into a-h:main Jan 16, 2026
5 checks passed
@MilkeeyCat MilkeeyCat deleted the pr_fix_proxy_escaping_characters branch January 16, 2026 13:55
@axadrn
Copy link
Copy Markdown
Contributor

axadrn commented Jan 17, 2026

Thank you.

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.

Inline scripts break in v0.3.977 (&& → &&)

3 participants