HTML Attributes that have a `:` in the middle of the name truncate everything before the `:`
Dream.html {|<div my:attr="test"></div>|}
The above code will produce:
<div attr="test"></div>
as output.
This prevents many features in common libraries like Alpinejs that utilize attributes with this style.
This is an issue with Dream_livereload not with Dream. Sorry...
Reopening, as Dream_livereload was merged into Dream (in somewhat modified form).
Was able to reproduce. Most likely the same bug as in https://github.com/aantron/lambdasoup/issues/12
Disregard my message, which I deleted. Had a fog brain moment.
@maxRN would you be able to try your repro again with your PR https://github.com/aantron/lambdasoup/pull/61 (thank you!)? A pin opam pin lambdasoup --dev-repo should be sufficient IIRC, as the PR is now merged.
@aantron no more lost namespaces! The bug is fixed for Dream.livereload as well.
Many thanks!
@maxRN for the repro and fix, @briangwaltney for the report and patience!