diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/email-previews.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/email-previews.test.js.snap index aa14686fcf..694df7c9e2 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/email-previews.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/email-previews.test.js.snap @@ -552,7 +552,7 @@ table.body h2 span { - + @@ -696,7 +696,7 @@ Another email card with a similar replacement, Jamie -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] @@ -1195,7 +1195,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -1355,7 +1355,7 @@ Header Level 3 -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] @@ -1881,7 +1881,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -2019,7 +2019,7 @@ Testing links [https://ghost.org/] in email excerpt and apostrophes ' -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] @@ -2892,7 +2892,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -3035,7 +3035,7 @@ Testing links [https://ghost.org/] in email excerpt and apostrophes ' -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] @@ -3934,7 +3934,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -4077,7 +4077,7 @@ Testing links [https://ghost.org/] in email excerpt and apostrophes ' -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=example-uuid&newsletter=requested-newsletter-uuid] diff --git a/ghost/core/test/integration/services/email-service/__snapshots__/batch-sending.test.js.snap b/ghost/core/test/integration/services/email-service/__snapshots__/batch-sending.test.js.snap index 5d2e9e3e60..ce0afcd6b4 100644 --- a/ghost/core/test/integration/services/email-service/__snapshots__/batch-sending.test.js.snap +++ b/ghost/core/test/integration/services/email-service/__snapshots__/batch-sending.test.js.snap @@ -458,7 +458,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -589,7 +589,7 @@ Testing feature image caption -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -1064,7 +1064,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -1189,7 +1189,7 @@ Hello world -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -1664,7 +1664,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -1789,7 +1789,7 @@ Hello world -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -2264,7 +2264,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -2389,7 +2389,7 @@ Hello world -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -2840,7 +2840,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -2937,7 +2937,7 @@ Hello world -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -3412,7 +3412,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -3537,7 +3537,7 @@ Hello world -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -4054,7 +4054,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -4237,7 +4237,7 @@ Comment -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -4736,7 +4736,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -4893,7 +4893,7 @@ Comment -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -5427,7 +5427,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -5638,7 +5638,7 @@ Hello world [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -6133,7 +6133,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -6293,7 +6293,7 @@ Manage subscription → [http://127.0.0.1:2369/#/portal/account] -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -6788,7 +6788,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -6948,7 +6948,7 @@ Manage subscription → [http://127.0.0.1:2369/#/portal/account] -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -7443,7 +7443,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -7603,7 +7603,7 @@ Manage subscription → [http://127.0.0.1:2369/#/portal/account] -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -8098,7 +8098,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -8258,7 +8258,7 @@ Manage subscription → [http://127.0.0.1:2369/#/portal/account] -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -8753,7 +8753,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -8913,7 +8913,7 @@ Manage subscription → [http://127.0.0.1:2369/#/portal/account] -Ghost © 2023 – Unsubscribe [unsubscribe_url] +Ghost © 2024 – Unsubscribe [unsubscribe_url] @@ -9388,7 +9388,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -9515,7 +9515,7 @@ Hey Simon, Hey Simon, -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -9990,7 +9990,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -10117,7 +10117,7 @@ Hey there, Hey , -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] diff --git a/ghost/core/test/integration/services/email-service/__snapshots__/cards.test.js.snap b/ghost/core/test/integration/services/email-service/__snapshots__/cards.test.js.snap index 5f3d5f656f..fa8d8d0bbd 100644 --- a/ghost/core/test/integration/services/email-service/__snapshots__/cards.test.js.snap +++ b/ghost/core/test/integration/services/email-service/__snapshots__/cards.test.js.snap @@ -450,7 +450,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -575,7 +575,7 @@ This is a paragraph test. -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] @@ -1050,7 +1050,7 @@ table.body h2 span {
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
- + @@ -1175,7 +1175,1144 @@ This is a paragraph -Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid] + + + +http://127.0.0.1:2369/r/xxxxxx?m=member-uuid + + + + + + + + + + + +  + + + + +", +} +`; + +exports[`Can send cards via email renders the golden post correctly 1 1`] = ` +Object { + "html": " + + + + + + A random test post + + + + This is just a simple paragraph, no frills. + +This is block quote + +This is a...different block quote + + +This is a heading! + + +Here's a smaller heading. + + +A heading + + +and a paragraph (in markdown!) + + + + +A paragraph inside an HTML card. + + +And another one, with some bold text. + + + +Ghost: Independent technology for modern publishingBeautiful, modern publishing with newsletters and premium subscriptions built-in. Used by Sky, 404Media, Lever News, Tangle, The Browser, and thousands more.Ghost - The Profes +
Ghost © 2023 – UnsubscribeGhost © 2024 – Unsubscribe
+ + + + + + + + + +
  +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + +
+
+ A random test post +
+ + + + + + + + +
+ By Joe Bloggs • date + + View in browser +
+ View in browser +
+
+ +

This is just a simple paragraph, no frills.

This is block quote
This is a...different block quote

This is a heading!

Here's a smaller heading.

\\"Cows
A lovely cow

A heading

+

and a paragraph (in markdown!)

+ + +

A paragraph inside an HTML card.

+

And another one, with some bold text.

+ +

A gallery.

Hey Vinz,

💡
I had an idea...
+

Spoiler alert!

+

Just kidding

+
+ + + +
+ + + + + +
+ + + + + + + + + + + + + + +
+ Sample +
+ + + + + +
+ + + 1:45 • Click to play audio +
+
+
+
+ + + + + + + + +
+ + +
+
 
+
+ + + + +

A lovely video of a woman on the beach doing nothing.

+
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+

Make a blog!

+
+ +
+

with Ghost

+
+ +
+ +
+

Good news everyone!

+

This header renders properly in all email clients!

+ +
+

Some text.

A blockquote

Some more text.

console.log('Hello world!');

A tiny little script.

+ + + +
+ + + + + +
+ +
+ test +
+ + +
+ A tiny text file. +
+ +
+ test.txt • 16 Bytes +
+
+ + +
+
+ + +
+
+ + + + + + + + +
Ghost © 2024 – Unsubscribe
\\"Powered
+
+ +
+
 
+ + +", + "plaintext": " + + + + + + + +  + + + + + + + + + + + + + + + + + +http://127.0.0.1:2369/r/xxxxxx?m=member-uuid + + + + + + + + + +Ghost [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + +Daily newsletter [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + + + + + +A random test post [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + + + + +By Joe Bloggs • date + + +View in browser [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + +View in browser [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + + + + + + +This is just a simple paragraph, no frills. + +> This is block quote + +> This is a...different block quote + + +This is a heading! + + +Here's a smaller heading. + +A lovely cow + + +A heading + + +and a paragraph (in markdown!) + + + + +A paragraph inside an HTML card. + + +And another one, with some bold text. + + + +---------------------------------------- + +A gallery. + + + + + + +Ghost: Independent technology for modern publishing +Beautiful, modern publishing with newsletters and premium subscriptions built-in. Used by Sky, 404Media, Lever News, Tangle, The Browser, and thousands more. + + +Ghost - The Professional Publishing Platform + + + + + +[http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + +My favorite website. + + + + +Hey Vinz, + + + +Click me, I'm a button! [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + +💡I had an idea... + + +Spoiler alert! + + +Just kidding + + + + + + + + + + + + + + +http://127.0.0.1:2369/r/xxxxxx?m=member-uuid + + +http://127.0.0.1:2369/r/xxxxxx?m=member-uuid + + + + + +Sample [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + + + + +http://127.0.0.1:2369/r/xxxxxx?m=member-uuid + + +1:45 • Click to play audio [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + + + + + + + + + + + + + + + + + + + +  + + + + +[http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + +A lovely video of a woman on the beach doing nothing. + + + + + + + + + + + + + + +Make a blog! + + + + + + + + + + + + + +with Ghost + + + + + + + + +Click here [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + + + + + +Good news everyone! + + +This header renders properly in all email clients! + + + + + + + + + + + + + + +  + + + + +[http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + +Some text. + +> A blockquote + +Some more text. + +console.log('Hello world!'); + +A tiny little script. + + + + + + + + + + + + + +test [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + + +A tiny text file. [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + +test.txt • 16 Bytes [http://127.0.0.1:2369/r/xxxxxx?m=member-uuid] + + + + + +http://127.0.0.1:2369/r/xxxxxx?m=member-uuid + + + + + + + + + + + + + + + + + + + + + + + + + + +Ghost © 2024 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid]