feat(mdx-storage): Phase2 Task2.4 마크다운/HTML 테이블 변환 구현#775
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ea6a07a to
eda7232
Compare
eda7232 to
34f7cfc
Compare
## Summary - `_starts_new_block()`에서 `_is_pipe_table_row()` 제거: pipe 문자를 포함한 일반 텍스트(markdown 링크, inline code의 || 연산자 등)가 paragraph 파싱을 중단시키는 false positive 버그를 수정합니다 - 테스트 8건 추가: 정렬 마커 테이블, 빈 셀, bold 헤더, paragraph→table 전환, pipe 포함 non-table 텍스트 보호 등 edge case 커버리지를 보강합니다 ## Test plan - [x] `pytest tests/test_mdx_to_storage/ -v` — 73/73 pass (기존 65 + 신규 8) - [x] pipe 포함 paragraph가 table로 오인되지 않음을 확인 - [x] 정렬 마커(`:---:`) 테이블 파싱/변환 정상 동작 확인 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
마크다운 테이블과 HTML 테이블을 Confluence Storage XHTML로 변환하는 기능을 구현합니다.
|구분자와 separator row(---)를 감지하여table블록으로 파싱합니다<table><tbody>구조로 변환하며, header는<th>, body는<td>로 생성합니다. 셀 내용에 인라인 변환(bold, code, link)을 적용합니다<table>시작~</table>종료까지 올바르게 수집하고, 셀 내부에 중첩 HTML이 없는 경우 인라인 변환을 적용합니다_starts_new_block()에서_is_pipe_table_row()false positive 제거 — pipe 문자를 포함한 일반 텍스트(markdown 링크,||연산자 등)가 paragraph 파싱을 중단시키는 문제를 방지합니다Test plan
pytest tests/test_mdx_to_storage/ -v— 73/73 pass🤖 Generated with Claude Code