fix(docs): preserve text-run link targets#924
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 17cfdf3a18
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if el.Paragraph != nil { | ||
| if renderChips { | ||
| text.WriteString(paragraphTextWithChips(el.Paragraph)) | ||
| text.WriteString(paragraphTextWithChips(docID, el.Paragraph)) |
There was a problem hiding this comment.
Avoid truncating rendered table links
When renderChips is enabled, this line feeds the full Markdown link text into the existing 60-byte table preview truncation below. In docs cat --numbered --chips, a table cell containing a normal long URL will be cut into something like [Label](https://example.com/very-long..., losing the closing destination and no longer preserving the link target on the table/numbered path. Consider truncating only the display text before wrapping, or avoiding the preview cap for rendered links.
Useful? React with 👍 / 👎.
* lox/fix-calendar-remove-meet: fix(calendar): expose --remove-meet fix(gmail): accept padded raw message encoding (openclaw#923) fix(docs): preserve text-run link targets (openclaw#924)
Summary
docs cat --chips, including tab, table, and numbered paths--max-byteslands inside themProof
make ci52f2ab0d931624b50f607f5b4e8204d70dad5331fea607ac32aea27589f3ffb7Closes #917
Closes #921