Ghost/ghost/html-to-plaintext
Simon Backx e6dbc0bc4c
🐛 Fixed repeating text in plaintext version of emails (#17162)
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.
2023-06-29 12:47:17 +02:00
..
lib 🐛 Fixed repeating text in plaintext version of emails (#17162) 2023-06-29 12:47:17 +02:00
test Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
.eslintrc.js Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
index.js Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
package.json Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
README.md Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00

Html To Plaintext

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests