fix(converter): li_itself join에서 XHTML에 없는 공백 삽입을 제거합니다#987
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
convert_li()의 ' '.join(li_itself)를 ''.join(li_itself)로 변경합니다. 각 <p>의 SingleLineParser 출력에 이미 XHTML 원문의 공백이 보존되어 있으므로, join에서 추가 공백을 넣지 않아야 합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
XHTML 원본의 공백을 그대로 MDX로 옮기는 원칙과 구체적 사례(convert_li join)를 정리합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5d87bc5 to
8a8eff3
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
convert_li()의' '.join(li_itself)를''.join(li_itself)로 변경합니다<p>의 SingleLineParser 출력에 이미 XHTML 원문의 공백이 보존되어 있으므로, join에서 추가 공백을 삽입하지 않아야 합니다docs/fc-whitespace-preservation.md)를 추가합니다원인
' '.join()이li_itself항목 사이에 공백을 삽입하는데, 이 공백은 XHTML 원문에 존재하지 않음수정
Test plan
make test-convert— 21 passedmake test-skeleton— 18 passedmake test-reverse-sync— 43 passedmake test-byte-verify— 21 passedmake test-render— 21 passedpytest— 964 passed🤖 Generated with Claude Code