Adrian Hesketh

Results 385 comments of Adrian Hesketh

No need to be embarrassed. You're not the first to think it wouldn't work because of how it looks. The output of the HTML attributes looks odd because it's not...

I'd love a PR on that if you've got time, thanks!

On this issue, I've sort-of lost track of what we want to do. We now have CSS template args (https://templ.guide/syntax-and-usage/css-style-management#css-component-arguments), as of the latest release, and this morning I added...

Thanks, I agree, it would be preferable to standardise on `\n` (fewer bytes) and Unix style relative paths (matches HTTP paths).

The code that gets the relative filename for use in error messages is at: https://github.com/a-h/templ/blob/edb6b5501622804e734f367d3e0480b96e03eebf/cmd/templ/generatecmd/eventhandler.go#L180-L189 It uses the Go stdlib to get the relative path, which uses the OS specific...