0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/apps/admin-x-activitypub
Michael Barrett 20a1b64a15
Handle null values for post content & excerpt in admin-x-activitypub (#21989)
Handle null values for post content & excerpt in admin-x-activitypub

refs [TryGhost/ActivityPub#245](https://github.com/TryGhost/ActivityPub/pull/245)

In [TryGhost/ActivityPub#245](https://github.com/TryGhost/ActivityPub/pull/245) we changed the service to allow for `null` values for the `content` & `excerpt` field. This means we could potentially be passing `null` values to `stripHtml` which would cause the app to crash. This commit ensures we always pass a string to `stripHtml` as well as updating the types to reflect what the value can be
2025-01-09 15:32:06 +00:00
..
public/styles Added Ghost2Ghost ActivityPub feature that uses mock API (#20411) 2024-06-19 12:46:02 +01:00
src Handle null values for post content & excerpt in admin-x-activitypub (#21989) 2025-01-09 15:32:06 +00:00
test Refactored data loading to be more performant in admin-x-activitypub (#21770) 2024-11-30 22:41:51 +00:00
.eslintignore
.eslintrc.cjs
.gitignore
index.html
package.json Handle null values for post content & excerpt in admin-x-activitypub (#21989) 2025-01-09 15:32:06 +00:00
playwright.config.mjs
postcss.config.cjs
tailwind.config.cjs
tsconfig.json Added alternative layout for displaying ActivityPub articles (#20556) 2024-07-08 15:11:01 +01:00
vite.config.mjs Updated vite config to allow sibling test files 2024-07-24 13:38:08 +07:00