confluence-mdx: reverse-sync verify 정규화 강화 및 callout 매핑 개선#813
Merged
Conversation
roundtrip_verifier에 5가지 정규화 함수를 추가하고, 변경되지 않은 행의 기존 MDX↔XHTML 불일치를 무시하는 선택적 비교 기능을 도입합니다. patch_builder의 callout 블록 매핑 폴백도 개선합니다. - heading 내 inline 요소 경계 공백 정규화 (_normalize_heading_ws) - split_into_sentences()에 의한 문장 줄바꿈 정규화 (_normalize_sentence_breaks) - Unicode 스마트 따옴표→ASCII 따옴표 정규화 (_normalize_quotes) - 인라인 코드 backtick 경계 정규화 (_normalize_inline_code_boundaries) - verify_roundtrip()에 original_mdx 파라미터 추가하여 변경 행만 검증 - _find_containing_mapping()에 heading/list 마커 제거 폴백 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
fix/proofread-mdx브랜치 65개 파일 verify 시 7개 실패(58/65)하던 문제를 65/65 전체 통과하도록 개선합니다roundtrip_verifier에 5가지 정규화 함수를 추가하여 forward converter의 알려진 변환 차이를 비교 시 무시합니다verify_roundtrip()에original_mdx파라미터를 추가하여, 변경되지 않은 행의 기존 MDX↔XHTML 불일치를 무시합니다patch_builder의_find_containing_mapping()폴백을 개선하여 callout 블록 내 heading/list 마커 불일치 시에도 매핑을 찾습니다추가된 정규화 함수
_normalize_heading_ws()<strong>,<code>등 인라인 요소 경계의 공백 차이_normalize_sentence_breaks()split_into_sentences()에 의한.→.\n문장 분리_normalize_quotes()"")와 ASCII 따옴표(") 차이_normalize_inline_code_boundaries()<code>요소 경계를 텍스트 패처로 변경할 수 없는 구조적 한계original_mdx)Test plan
cd confluence-mdx && python3 bin/reverse_sync_cli.py verify --branch fix/proofread-mdx실행하여 65/65 통과 확인🤖 Generated with Claude Code