Skip to content

v1.1.1 – Dynamic Subject Rendering Fix

Choose a tag to compare

@Maatify Maatify released this 14 Sep 01:08
· 5 commits to main since this release
c3e14e9

Maatify Email Delivery v1.1.1

This patch release fixes dynamic email subject rendering when Twig subject blocks contain special characters.

Previously, dynamic subject values were returned with Twig's HTML entities still encoded, causing characters such as &, <, >, and quotes to appear incorrectly in the SMTP subject.


Fixed

  • Decode Twig HTML entities from rendered subject blocks before exposing them as the email subject.
  • Preserve literal dynamic subject values such as A & B <Test> "quoted".
  • Keep normal Twig HTML escaping unchanged for rendered email bodies.
  • Added regression coverage verifying both literal SMTP subjects and escaped HTML output.

Backward Compatibility

This release is backward compatible.

  • No public API or interface signatures were changed.
  • Existing static subject templates continue to work normally.
  • Existing HTML body escaping behavior remains unchanged.

Installation

composer require maatify/email-delivery:^1.1

Existing installations using ^1.1 can update normally to v1.1.1.