feat(mdx-storage): Phase2 Task2.2 Figure → ac:image 변환 구현#773
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
## Summary - figure without width 최소 테스트 추가 - self-closing img 태그 (`<img ... />`) 파싱 테스트 추가 - figure가 포함된 혼합 문서 통합 테스트 추가 ## Test plan - [x] `pytest tests/test_mdx_to_storage/` — 54/54 pass - [x] 전체 테스트 스위트 — 490/490 pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d213444 to
847a268
Compare
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
<figure><img>MDX 블록을<ac:image><ri:attachment>Confluence Storage XHTML로 변환하는 기능을 구현합니다._extract_figure_caption()추가:<figcaption>태그에서 텍스트를 추출하고 HTML 태그를 제거합니다._emit_figure()추가:ac:align,ac:width,ri:filename,ac:caption속성을 포함한 XHTML을 생성합니다.os.path.basename()사용 (경로 → basename)Test plan
pytest tests/test_mdx_to_storage/— 54/54 pass<ac:image ac:align="center" ac:width="700">검증<ac:caption><p>+ inline 변환 검증<img ... />파싱 검증🤖 Generated with Claude Code
Co-authored-by: Claude Opus 4.6 noreply@anthropic.com