0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/apps/admin-x-framework
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
..
src Handle null values for post content & excerpt in admin-x-activitypub (#21989) 2025-01-09 15:32:06 +00:00
test Added custom headers to be passed to createQuery hook (#20402) 2024-06-19 10:27:07 +07:00
.eslintrc.cjs Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
.gitignore Moved AdminX test config to framework package (#19096) 2023-11-22 13:39:32 +00:00
package.json Adding Posts analytics React app (#21878) 2024-12-19 12:01:08 +01:00
tsconfig.declaration.json
tsconfig.json
tsconfig.node.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
vite.config.ts Adding Posts analytics React app (#21878) 2024-12-19 12:01:08 +01:00