Skip to content

Feishu: message truncated when containing backticks or angle brackets in streaming mode #26708

@Vicky-v7

Description

@Vicky-v7

Description

Messages containing special characters (backticks, angle brackets like <thinking>) get truncated when sent to Feishu in streaming card mode. The message cuts off mid-sentence.

Expected Behavior

The full message should be delivered, with special characters properly escaped for Feishu's rich text format.

Actual Behavior

Message is truncated at or near the special character. For example, a message explaining Claude's <thinking> tags was cut off right at the angle bracket.

Environment

  • OpenClaw version: 2026.2.19-2 (45d9b20)
  • Channel: Feishu (streaming: true, blockStreaming: true)
  • Model: anthropic/claude-opus-4-6

Steps to Reproduce

  1. Send a message to Feishu that contains backticks and angle brackets (e.g. \``)
  2. Observe the message is truncated in the Feishu chat

Possible Cause

The Feishu streaming card renderer may not properly escape angle brackets or backticks, causing the rich text parser to interpret them as tags and break the message.

Workaround

Avoid using angle brackets and backticks in messages sent to Feishu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions