spec/tests/test-render-html.sx covers the full HTML serialization surface: text/literals, content escaping, attribute escaping, normal elements, all 14 void elements, 18 boolean attributes, regular/data-*/aria-* attrs, fragments, raw HTML, headings, lists, tables, forms, media, semantic elements, SVG, control flow (if/when/cond), let bindings, map/for-each, components (simple/children/keyword+children/nested), macros, begin/do, letrec, scope/provide, islands with hydration markers, lakes, marshes, threading, define-in-template. Validates adapter-html.sx can replace sx_render.ml as the canonical renderer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 KiB
26 KiB