mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
20a1b64a15
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 |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
posts | ||
shade | ||
signup-form | ||
sodo-search |