Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fixed repeating text in plaintext version of emails #17162

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

SimonBackx
Copy link
Contributor

fixes https://github.com/TryGhost/Team/issues/3541

The email preheader, which is only present in the html version of an email, is also included in the plaintext version of all emails. This results in all text being duplicated twice in plaintext emails.

fixes https://github.com/TryGhost/Team/issues/3541

The email preheader, which is only present in the html version of an email, is also included in the plaintext version of all emails. This results in all text being duplicated twice in plaintext emails.
@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.06 🎉

Comparison is base (a85d455) 71.62% compared to head (516f688) 71.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17162      +/-   ##
==========================================
+ Coverage   71.62%   71.69%   +0.06%     
==========================================
  Files        1833     1833              
  Lines      116265   116267       +2     
  Branches    17255    17277      +22     
==========================================
+ Hits        83270    83352      +82     
+ Misses      31874    31788      -86     
- Partials     1121     1127       +6     
Flag Coverage Δ
e2e-tests 66.48% <ø> (+0.01%) ⬆️
unit-tests 63.52% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ghost/html-to-plaintext/lib/html-to-plaintext.js 97.00% <100.00%> (+0.06%) ⬆️

... and 13 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@SimonBackx SimonBackx merged commit e6dbc0b into TryGhost:main Jun 29, 2023
@SimonBackx SimonBackx deleted the fix-preheader-in-plaintexct branch June 29, 2023 10:47
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