Skip to content

fix(weixin): wrap long copy-unfriendly lines (salvage #19227) - #21258

Merged
teknium1 merged 1 commit into
mainfrom
salvage/pr-19227
May 7, 2026
Merged

fix(weixin): wrap long copy-unfriendly lines (salvage #19227)#21258
teknium1 merged 1 commit into
mainfrom
salvage/pr-19227

Conversation

@teknium1

@teknium1 teknium1 commented May 7, 2026

Copy link
Copy Markdown
Contributor

Closes #19227 via salvage. Fixes #19161.

Summary

Break non-code, non-table text lines at a copy-friendly display width before sending to WeChat. Preserve fenced code blocks and Markdown tables unchanged so commands and table structure aren't damaged.

Validation

scripts/run_tests.sh tests/gateway/test_weixin.py → 54 passed.

Original author: @LeonSGP43.

@teknium1
teknium1 merged commit 7244a1f into main May 7, 2026
9 of 11 checks passed
@teknium1
teknium1 deleted the salvage/pr-19227 branch May 7, 2026 13:08
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

🔎 Lint report: salvage/pr-19227 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 7522 on HEAD, 7522 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 3950 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery platform/wecom WeCom / WeChat Work adapter labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have platform/wecom WeCom / WeChat Work adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: eixin output formatting can produce very long single lines that are hard to copy

3 participants