fix(shared): 修复 CJK Markdown 行内渲染 - #1417
Conversation
|
Warning Review limit reached
Next review available in: 26 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
变更
remark-cjk-friendly/parseOnly修复 CJK 标点相邻的 emphasis 解析box-decoration-break: clone保持换行片段背景/圆角根因与影响
CommonMark 的 delimiter flanking 规则会让 CJK 句末标点附近的 emphasis 失效;GFM 裸链接会把未识别的 CJK 句读继续吞入 URL;原有
<code>组件又按长度和换行内容判断 block,导致长行内代码不能稳定换行展示。本修复集中在 shared Markdown renderer,Desktop/Web 共用。验证
app/shared: Vitest 165 files / 1264 tests passedapp/shared: Markdown 定向测试 18/18 passedapp/desktop:pnpm buildpassed(含 TypeScript + Vite)app/web:pnpm buildpassed(含 TypeScript + Vite)git diff --checkpassedpnpm lint仍命中既有 story/test/demo 类型基线;本次文件无新增诊断,两个 consumer 的 TypeScript production build 均通过Closes #1409