Skip to content

confluence-mdx: direct 경로 <ac:link> 가드 추가 (F3)#864

Merged
jk-kim0 merged 1 commit intomainfrom
fix/f3-ac-link-guard
Feb 26, 2026
Merged

confluence-mdx: direct 경로 <ac:link> 가드 추가 (F3)#864
jk-kim0 merged 1 commit intomainfrom
fix/f3-ac-link-guard

Conversation

@jk-kim0
Copy link
Contributor

@jk-kim0 jk-kim0 commented Feb 26, 2026

Summary

build_patches의 direct 경로에서 매핑 XHTML에 <ac:link> 포함 시 inner XHTML 재생성 대신 transfer_text_changes로 폴백하여 DOM 구조를 보존합니다.

문제

  • HTML table 블록 내 <ac:link> 요소가 mdx_block_to_inner_xhtml() 재생성 시 <a href>로 변환되어 소실
  • 544178405 테스트케이스에서 Databased→Database 변경 시 테이블 전체가 재구성됨

해결

  • patch_builder.py의 direct 경로에 <ac:link> 가드 추가
  • 리스트의 <ac:image>/<span style> 가드(F1)와 동일한 패턴

결과: 16/16 전체 pass (544178405: fail → pass)

변경 파일 내용
patch_builder.py direct 경로 <ac:link> 가드 + markdown table 가드
analysis-reverse-sync-refactoring.md F3 완료 기록 추가
544178405/expected.* status: pass로 업데이트

Test plan

  • make test-reverse-sync (16/16 pass)
  • make test-xhtml-diff (15/15 pass)
  • make test-convert (21/21 pass)
  • make test-skeleton (18/18 pass)
  • make test-byte-verify (21/21 pass)
  • Python unit tests (773 passed, 2 pre-existing failures in test_unused_attachments.py)

🤖 Generated with Claude Code

build_patches의 direct 경로에서 매핑 XHTML에 <ac:link> 포함 시
inner XHTML 재생성 대신 transfer_text_changes로 폴백합니다.

HTML table 블록 내 <ac:link> 요소가 재생성 시 <a href>로 변환되는
문제를 해결하여, 544178405 테스트케이스가 fail → pass로 전환됩니다.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
querypie-docs Ready Ready Preview, Comment Feb 26, 2026 2:58pm

Request Review

@jk-kim0 jk-kim0 self-assigned this Feb 26, 2026
@jk-kim0 jk-kim0 merged commit 59246ee into main Feb 26, 2026
7 checks passed
@jk-kim0 jk-kim0 deleted the fix/f3-ac-link-guard branch February 26, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant