Commit 7c11248
committed
fix(web): keep external link labels breakable under PR autolinks
#8812 routes link content through a linkChildren element that already wraps
children in MarkdownLinkContext. Passing that inside MarkdownExternalLinkContent
puts an element where it looks for the leading text it splits with <wbr/>, so a
long label became one unbreakable run and overflowed the chat column.
Pylon wraps the result instead of the children for exactly this reason. Caught by
ChatMarkdown.test.tsx.1 parent 05f134d commit 7c11248
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2338 | 2338 | | |
2339 | 2339 | | |
2340 | 2340 | | |
2341 | | - | |
| 2341 | + | |
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
| |||
0 commit comments