- 🐛 Fixed paid email preview stopped working in emails (#15356) - Simon Backx
View the changelog for full details: v5.12.3...v5.12.4
🪄 Love open source? We're hiring Node.js Engineers to work on Ghost full-time
Tag Name: v5.12.4
Release Date: 9/2/2022
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
Ghost v5.12.4 is a hotfix release that addresses a critical bug where paid email previews stopped working in emails. The issue was caused by recently introduced email sanitization that removed HTML comments from post HTML, breaking both the paid preview functionality and Outlook conditional comments. This release reverts those changes to restore proper email functionality.
No migration steps are required for this release. The fix is automatically applied when upgrading to v5.12.4.
This release is highly recommended for all Ghost users who utilize the paid newsletter functionality. The bug fix addresses a critical issue with paid email previews and ensures proper email rendering in Outlook clients.
To upgrade:
This release fixes a critical bug where paid email previews stopped working in emails. The issue was caused by recently introduced email sanitization that removed HTML comments from post HTML, which had two major consequences:
<!--members-only--> HTML comment was being stripped, breaking the paid content preview functionality in emails<!--[if !mso !vml]--> were being removed, affecting email rendering in Outlook clientsThe fix reverts the email sanitization changes to restore proper functionality for both paid email previews and Outlook email compatibility.
No new features were introduced in this release. This is a bugfix release focused on restoring email functionality.
No security fixes were included in this release.
No specific performance improvements were included in this release.
This release addresses a critical bug that affected paid email previews and email rendering in Outlook clients. By reverting the email sanitization that was stripping HTML comments, Ghost has restored the functionality of paid email previews that depend on the <!--members-only--> comment tag. This fix is particularly important for publishers who rely on paid newsletters as part of their business model, ensuring they can properly preview and send emails with paid content sections. The fix also restores compatibility with Outlook email clients by preserving conditional comments used for proper rendering.
View the changelog for full details: v5.12.3...v5.12.4
🪄 Love open source? We're hiring Node.js Engineers to work on Ghost full-time