Replies: 2 comments 4 replies
-
Hi, I'm struggling to understand what you mean here. You can use single quotes for attrbutes in templ, it was tracked in #116 if that's what you mean? A code example of what you'd like to write in templ, and the HTML output you'd like to see would be helpful. |
Beta Was this translation helpful? Give feedback.
-
Just following up on this one. I think there was an issue, which was fixed in this commit 668a888 via this PR #384 When I'm going to merge a couple more PRs and cut a new release. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there a way to have tag attributes wrapped in single quotes rather than double? I'm trying to use templ with htmx and need single quotes to use with the hx-vals attribute.
(I also need to have dynamic values in the attribute from an array I'm looping over - I think I'd need a componentFunc for that?)
Beta Was this translation helpful? Give feedback.
All reactions