Fix UpdateHandler crash when replace.content is a rich-text object #83

Merged
jonny merged 1 commit from error_processing_swarm_checkin into develop 2026-03-18 18:45:20 +01:00
Owner

OwnYourSwarm sends content as an array of objects with value and html
keys per the Micropub spec. The handler now handles both forms: plain
strings and rich objects, preferring html over value.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

OwnYourSwarm sends content as an array of objects with `value` and `html` keys per the Micropub spec. The handler now handles both forms: plain strings and rich objects, preferring `html` over `value`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
OwnYourSwarm sends content as an array of objects with `value` and `html`
keys per the Micropub spec. The handler now handles both forms: plain
strings and rich objects, preferring `html` over `value`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jonny merged commit e8e2bff5e4 into develop 2026-03-18 18:45:20 +01:00
jonny deleted branch error_processing_swarm_checkin 2026-03-18 18:45:21 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonny/jonnybarnes.uk!83
No description provided.