fix(reverse_sync): 리스트 마커 뒤 공백 변경을 content 비교에서 감지합니다#986
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
_normalize_list_for_content_compare가 normalize_mdx_to_plain을 호출하며 마커와 그 뒤 공백을 함께 제거하여 `* text`와 `* text`를 동일하게 판정했습니다. 이로 인해 has_content_change가 False가 되어 replace_fragment 경로를 타지 않아 XHTML <li><p> 내 선행 공백이 교정되지 않았습니다. 마커 뒤 공백 수를 정규화 결과에 접두어로 기록하여 공백 차이가 content 변경으로 감지되도록 수정합니다. 이를 통해 clean list는 replace_fragment → emit_block 경로를 타며, emit_block이 생성하는 clean XHTML에는 선행 공백이 포함되지 않습니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e24885a to
669ec3b
Compare
Contributor
Author
|
[debate-review][sha:669ec3bda26e3b279944fa2d90e4b26c563a2f86] Consensus reached after 5 rounds. Debate Summary
Withdrawn Findings
|
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
_normalize_list_for_content_compare가normalize_mdx_to_plain호출 시 마커와 뒤 공백을 함께 제거하여* text와* text를 동일하게 판정하던 문제를 수정합니다has_content_change로 감지됩니다replace_fragment→emit_block경로를 타며, XHTML<li><p>내 선행 공백이 자동 교정됩니다Test plan
_normalize_list_for_content_compare마커 공백 보존 단위 테스트 6건 통과🤖 Generated with Claude Code