Adrian Hesketh
Adrian Hesketh
That's right. We need to fix it so that the code is identical between dev and prod mode, with a runtime switch to change behaviour. I think I got it...
It would be to avoid problems caused by deploying watch mode code. There's no benefit in a production scenario that I can think of.
This PR https://github.com/a-h/templ/pull/1027 will close this issue, because if we get that merged, the prod and dev mode code will be identical.
I switched templ away from gomod2nix in January because of this issue (https://github.com/a-h/templ/commit/2cc28840cf59927f7e3d0862014921c9e364b11d) but I decided to give it another shot today. I had to add `gomod2nix` in to the...
Just rebasing on main, to make sure it's up to date.
Without interest from maintainers, I doubt this will ever be merged. If a maintainer is up for merging the feature, then it would be great to fix up any requests...
Thanks for the report. This should be fairly straightforward to sort out. Need to add a parser and node type for it, and a validator to make sure it only...
Out of interest, how come you don't make the changes on the `full_description` instead? https://go.dev/play/p/jPaUdgoIB4Y In templ, you'd then be able to use: ```templ { strings.Replace(full_description, "_", "_\u00AD", -1) }...