Test cards update preserves HTML body

Merged
RO
5mo ago
+18-0

Summary

  • Add a regression test for cards update --body '<p>Hello <code>world</code></p>'
  • Assert preformatted HTML is sent as the card content payload unchanged

Validation

  • GOWORK=off go test ./internal/commands -run 'TestCardsUpdate(PreservesHTMLBody|ContentIsHTML)'

Refs #420.


Summary by cubic

Add a regression test verifying that cards update --body '<p>Hello <code>world</code></p>' preserves the HTML body and sends it unchanged as the content payload. Addresses #420.