From 8bbe3cf17d3be0392cf4a24cd758fe3124cc5a20 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Wed, 4 Nov 2026 19:55:14 -0800 Subject: [PATCH] fix(block-kit): match the alert block example to the docs Co-Authored-By: Claude Co-Authored-By: Claude Opus 5.5 (1M context) --- block-kit/src/blocks/alert.py | 5 ++++- block-kit/tests/blocks/test_alert.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/block-kit/src/blocks/alert.py b/block-kit/src/blocks/alert.py index ddc363a..c9c24a5 100644 --- a/block-kit/src/blocks/alert.py +++ b/block-kit/src/blocks/alert.py @@ -10,7 +10,10 @@ def example01() -> AlertBlock: An informational alert. """ block = AlertBlock( - text=MarkdownTextObject(text="The work is mysterious and important."), + text=MarkdownTextObject( + text="The work is mysterious and important.", + verbatim=False, + ), level="info", ) return block diff --git a/block-kit/tests/blocks/test_alert.py b/block-kit/tests/blocks/test_alert.py index b1e359c..3793e7d 100644 --- a/block-kit/tests/blocks/test_alert.py +++ b/block-kit/tests/blocks/test_alert.py @@ -11,6 +11,7 @@ def test_example01(): "text": { "type": "mrkdwn", "text": "The work is mysterious and important.", + "verbatim": False, }, "level": "info", }