Render blockquotes in ActivityPub posts #277

Merged
erik merged 1 commit from fix/task-9b48f5c3-activitypub-blockquotes into main 2026-07-30 14:05:35 -05:00
Owner

Summary

Render Markdown quote markers as semantic ActivityPub blockquotes so remote servers do not display literal > characters.

Task

Task: #task-9b48f5c3

Changes

  • Extend the safe ActivityPub HTML renderer with single-line and multi-paragraph blockquote support.
  • Preserve paragraph rendering, line breaks, and HTML escaping.
  • Add shared-helper and generated-template outbox coverage using generic fixture data.

Testing

  • Unit tests added/updated
  • Manual testing performed
  • ./scripts/pre-pr.sh

Checklist

  • ./scripts/pre-pr.sh passes
  • Documentation updated (not needed)
  • No unrelated changes included
## Summary Render Markdown quote markers as semantic ActivityPub blockquotes so remote servers do not display literal `>` characters. ## Task Task: #task-9b48f5c3 ## Changes - Extend the safe ActivityPub HTML renderer with single-line and multi-paragraph blockquote support. - Preserve paragraph rendering, line breaks, and HTML escaping. - Add shared-helper and generated-template outbox coverage using generic fixture data. ## Testing - [x] Unit tests added/updated - [ ] Manual testing performed - [x] `./scripts/pre-pr.sh` ## Checklist - [x] `./scripts/pre-pr.sh` passes - [x] Documentation updated (not needed) - [x] No unrelated changes included
fix: render ActivityPub blockquotes
All checks were successful
CI / build-lint-test (pull_request) Successful in 2m9s
66641c8273
Task: #task-9b48f5c3
Author
Owner

Review summary

  • PR: #277 is open; CI is green.
  • Result: approved
  • Acceptance criteria:
    • Single-line Markdown quotes serialize as semantic <blockquote> HTML.
    • Quoted blank markers preserve multi-paragraph blockquote structure.
    • Published ActivityPub content contains semantic quote markup without literal &gt; markers, matching Mastodon rendering requirements.
    • Generated-template tests use generic single-line and multi-paragraph fixtures without personal data.
    • Existing paragraph, line-break, link-post URL, and HTML-escaping behavior remains covered and intact.
    • Existing generated-site tests pass through ./scripts/pre-pr.sh and Forgejo CI.
  • Blocking issues: none.
  • Warnings: none.
  • Follow-up: await explicit human merge approval.
### Review summary - PR: #277 is open; CI is green. - Result: **approved** - Acceptance criteria: - [x] Single-line Markdown quotes serialize as semantic `<blockquote>` HTML. - [x] Quoted blank markers preserve multi-paragraph blockquote structure. - [x] Published ActivityPub content contains semantic quote markup without literal `&gt;` markers, matching Mastodon rendering requirements. - [x] Generated-template tests use generic single-line and multi-paragraph fixtures without personal data. - [x] Existing paragraph, line-break, link-post URL, and HTML-escaping behavior remains covered and intact. - [x] Existing generated-site tests pass through `./scripts/pre-pr.sh` and Forgejo CI. - Blocking issues: none. - Warnings: none. - Follow-up: await explicit human merge approval.
erik merged commit 453c41bdc4 into main 2026-07-30 14:05:35 -05:00
erik deleted branch fix/task-9b48f5c3-activitypub-blockquotes 2026-07-30 14:05:35 -05:00
Sign in to join this conversation.
No reviewers
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
erik/slugkit!277
No description provided.