mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
🐛 Fixed collection card post excerpts (#18232)
refs TryGhost/Product#3913 - posts starting with a lexical card resulted in blank space in excerpts
This commit is contained in:
parent
e1c966b6d7
commit
c0f70144fc
3 changed files with 7 additions and 10 deletions
|
@ -106,7 +106,7 @@
|
|||
"@tryghost/kg-default-cards": "9.1.4",
|
||||
"@tryghost/kg-default-nodes": "0.1.32",
|
||||
"@tryghost/kg-html-to-lexical": "0.0.8",
|
||||
"@tryghost/kg-lexical-html-renderer": "0.3.28",
|
||||
"@tryghost/kg-lexical-html-renderer": "0.3.29",
|
||||
"@tryghost/kg-mobiledoc-html-renderer": "6.0.11",
|
||||
"@tryghost/limit-service": "1.2.6",
|
||||
"@tryghost/link-redirects": "0.0.0",
|
||||
|
|
|
@ -984,8 +984,7 @@ table.body figcaption a {
|
|||
</style>
|
||||
</head>
|
||||
<body style=\\"font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; -webkit-font-smoothing: antialiased; font-size: 18px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #000000;\\">
|
||||
<span class=\\"preheader\\" style=\\"color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;\\">This is a paragraph
|
||||
</span>
|
||||
<span class=\\"preheader\\" style=\\"color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;\\">This is a paragraph</span>
|
||||
<table role=\\"presentation\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" class=\\"body\\" width=\\"100%\\" style=\\"border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;\\">
|
||||
<!-- Outlook doesn't respect max-width so we need an extra centered table -->
|
||||
<!--[if mso]>
|
||||
|
@ -1053,8 +1052,7 @@ table.body figcaption a {
|
|||
<tr class=\\"post-content-row\\">
|
||||
<td class=\\"post-content\\" style=\\"vertical-align: top; font-family: Georgia, serif; font-size: 18px; line-height: 1.5em; color: #000000; padding-bottom: 20px; border-bottom: 1px solid #e5eff5; border-bottom: 1px solid rgba(0, 0, 0, 0.12); max-width: 600px;\\" valign=\\"top\\">
|
||||
<!-- POST CONTENT START -->
|
||||
<p style=\\"margin: 0 0 1.5em 0; line-height: 1.6em;\\">This is a paragraph</p>
|
||||
<div></div>
|
||||
<p style=\\"margin: 0 0 1.5em 0; line-height: 1.6em;\\">This is a paragraph</p><div></div>
|
||||
<!-- POST CONTENT END -->
|
||||
|
||||
</td>
|
||||
|
@ -1197,7 +1195,6 @@ This is a paragraph
|
|||
|
||||
|
||||
|
||||
|
||||
Ghost © 2023 – Unsubscribe [http://127.0.0.1:2369/unsubscribe/?uuid=member-uuid&newsletter=requested-newsletter-uuid]
|
||||
|
||||
|
||||
|
|
|
@ -7867,10 +7867,10 @@
|
|||
jsdom "^22.1.0"
|
||||
lexical "^0.12.2"
|
||||
|
||||
"@tryghost/kg-lexical-html-renderer@0.3.28":
|
||||
version "0.3.28"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.28.tgz#c505dc431256b51a235b83f5945b600f01eb6bc3"
|
||||
integrity sha512-6elOhcDCeUZuQKecijSN+12e+xfpBgwyTqbsjnlC3MVdgtBJ+U3cxkd1hVBZZpQO6OjjbTl+GH5UhClgVdnrCg==
|
||||
"@tryghost/kg-lexical-html-renderer@0.3.29":
|
||||
version "0.3.29"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.29.tgz#6612ffee0a734e4be03d094d1fdc676e7469c3e4"
|
||||
integrity sha512-CQ3FOsDRsuiuGk3lRMsa7MdWzkdBtQseNglMi3Ko6EFOY8oUdBY5XFc80cl2PS4A6dxl2ry6bmUBt25/gwPdmg==
|
||||
dependencies:
|
||||
"@lexical/clipboard" "^0.12.2"
|
||||
"@lexical/code" "^0.12.2"
|
||||
|
|
Loading…
Reference in a new issue