Preserve image accessibility and dimensions in MJML
Quality / quality (ubuntu-latest) (push) Failing after 1s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
Clintchiz committed 2026-09-05 17:54:05 +05:30
1 parent 1c05e02d94
commit 07ed6b2596
4 files changed
+32 -4

No files matched your search

+2 -2
View File
@@ -240,8 +240,8 @@ export function importMjml(
type: "content.image",
version: 1,
props: {
src: a.src ?? "",
alt: a.alt ?? "",
src: decode(a.src ?? ""),
alt: decode(a.alt ?? ""),
width: (a.width ?? "600").replace(/px$/, ""),
height: (a.height ?? "300").replace(/px$/, ""),
decorative: false,