Skip to content

feat: add xhtmlDocument() with baked-in XHTML shell - #51

Merged
atherdon merged 1 commit into
mainfrom
feat/xhtml-document
Oct 24, 2026
Merged

atherdon merged 1 commit into
mainfrom
feat/xhtml-document

Conversation

@atherdon

Copy link
Copy Markdown
Contributor

Adds xhtmlDocument(props) (and XHTML_DOCTYPE) so consumers get XHTML 1.0 Transitional doctype, xmlns, and no lang without passing shell options. Same slots as document(); existing API unchanged. Tests added.

Needed by LLazyEmail/postmark-transactional-template-simple (follow-up to #58/#61). Requires a version bump + publish (e.g. 1.1.0).

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
@github-actions

Copy link
Copy Markdown

Rendered emails

This PR rendered email templates.

Open the run → Artifacts → download → open index.html.

@atherdon
atherdon marked this pull request as ready for review October 24, 2026 09:22
@atherdon
atherdon merged commit 5989cab into main Oct 24, 2026
7 checks passed
@atherdon
atherdon deleted the feat/xhtml-document branch October 26, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant