Skip to content

v0.5.79

Choose a tag to compare

@jaspertey jaspertey released this 30 Oct 02:03
66e43b9

Fixed

  • Mail text is escaped exactly once (backported from main). FluentMailMessage HTML-encoded user text and the markdown render encoded it again, so an apostrophe showed as a literal &#039; ("Ada's talk") in the HTML part, and the text part showed the entities and markdown backslashes (\*x\*). escape() now only backslash-escapes markdown punctuation and leaves HTML encoding to the render, and each block carries its text as given for the text part. <script> and <b> still show as inert text in every builder (headline, paragraph, facts, table, panel, callout, note, bullets, quote, section, button labels) in both layouts. A host that passed FluentMailMessage::escape() output to markdown() gets the same HTML; its text part shows that block's backslashes, as before.

What's Changed

  • FluentMailMessage: escape user text exactly once (0.5.x) by @jaspertey in #400

Full Changelog: v0.5.78...v0.5.79