fix(reverse_sync): 리스트 항목 선행 공백 축소가 XHTML에 반영되지 않는 문제를 수정합니다#977
Merged
fix(reverse_sync): 리스트 항목 선행 공백 축소가 XHTML에 반영되지 않는 문제를 수정합니다#977
Conversation
…거합니다 텍스트 노드 사이 gap이 축소될 때(예: 2공백→1공백) leading whitespace가 보존되어 `<p> Admin` → FC → `* Admin` (이중 공백)이 되는 문제를 수정합니다. gap이 삭제(not gap_new)뿐 아니라 공백만으로 축소된 경우에도 leading을 제거하여 원래 diff 의도를 반영합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
_apply_text_changes의 gap 축소 로직을 검증하는 3건의 테스트를 추가합니다: - gap 2공백→1공백 축소 시 <p> leading space 제거 (버그 재현) - gap 완전 삭제 시 leading 제거 (기존 동작) - gap 미축소 시 leading 보존 (회귀 방지) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_apply_text_changes에서 텍스트 노드 사이 gap이 축소될 때(예: 2공백→1공백) leading whitespace가 보존되는 버그를 수정합니다<p> Admin→ FC →* Admin(이중 공백)이 발생하던 문제가 해결됩니다not gap_new)뿐 아니라 공백으로만 축소된 경우에도 leading을 제거합니다Test plan
make test-reverse-sync전체 통과 (42 passed, 0 failed)make test-reverse-sync-bugs-one TEST_ID=544377652통과🤖 Generated with Claude Code