Files
Mdeical_Sur_Report/工程分析/20260420_0009/功能变更测试文档.md
admin 963a7541c9 fix: Diff modal原始版本大段空白修复(20260420_0009)
- currentHtml提取后添加 replace(/>(\s+)</g, '><') 压缩标签间空白
- cleanHtml处理后同样压缩, 确保diff两侧格式对齐
- 消除模板源码排版换行被diff算法误识别为删除内容的问题
2026-04-20 00:10:31 +08:00

12 lines
409 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 功能变更测试文档20260420_0009
## 测试项Diff Modal 段落空白修复
### 测试场景
1. 在 AI 可编辑区域(如"手术步骤")发送修改请求
2. AI 返回修改内容后,查看 diff 弹窗
3. **预期结果**
- 左侧"原始版本"中段落之间没有大段空白
- 红色删除线仅标记有实际意义的文字差异
- 右侧"AI 提议版本"排版正常