Get the latest tech news
Dream-HTML – render HTML, SVG, MathML, Htmx markup from OCaml
Render HTML, SVG, MathML, htmx markup from your OCaml Dream backend server - yawaramin/dream-html
Dream's built-in eml (Embedded ML) has some drawbacks like no editor support, quirky syntax that can be hard to debug and refactor, and manual dune rule setup for each view file In general string-based HTML templating is suboptimal and mostly driven by familiarity. Attribute and text values are escaped using rules very similar to standards- compliant web browsers: Many web pages don't strictly conform to the rules of correct HTML markup, so you will likely need to fix those issues for your build to work.
Or read this on Hacker News