Skip to content

v1.2.1

Choose a tag to compare

@DevRohit06 DevRohit06 released this 16 Feb 16:00
· 14 commits to main since this release

Bug Fix

  • Fix custom landing pages with full HTML documents: Landing pages that are complete HTML documents (with <!doctype>, <html>, <head>, <body>) were being nested inside Astro's own HTML wrapper, creating invalid markup. This broke inline scripts (GSAP ScrollTrigger, onclick handlers), global styles (:root variables, animations), and external CDN resources (UnoCSS runtime).

What changed

  • Full HTML documents in _landing/ are now parsed and merged correctly into a single valid Astro page
  • <script> and <style> tags in user HTML get is:inline so Astro passes them through without module bundling or scope isolation
  • HTML fragments (non-document snippets) continue to work as before, wrapped in Lito's default page shell