fix: 다른 앱에서 보이는 HTML — 빈 줄 <br>, 셀 속 그림 (상류 라운드 9 백포트) - #57
Merged
Merged
Conversation
상류가 2026-08-08 브라우저 측정으로 고친 HTML 결함 4건 중 포트에 없던 2건. 둘 다 이 편집기 자신의 읽기로는 완벽하게 돌아와 왕복 테스트로는 보이지 않는다. - 빈 문단·빈 목록 항목을 내용 없는 요소로 써서 브라우저에서 높이 0(빈 줄이 안 보임). <br/>을 함께 쓰고, 읽기는 data-are-empty가 있으면 그 <br/>을 버린다(문단·목록 항목 모두). 외부 빈 요소는 여전히 버리고, 외부 <p><br></p>은 여전히 빈 줄. - 셀에 문단 하나 + 그림이면 문단을 태그 없이 써서 <img>가 캡션 옆에 붙었다. 셀에 그림이 있으면 요소 형태 (manyParagraphs → needsElementForm). HtmlExternalRenderingTests 8개(상류 이식 + 빈 목록 항목), 수정 전 3건 빨강. 반증: 문단 <br> 버리기 제거 3건, 목록 항목 <br> 버리기 제거 1건, 그림 규칙 제거 1건 빨강. 전체 939 통과, 퍼즈 20,000시드 통과. Co-Authored-By: Claude Opus 5.5 <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.
상류가 2026-08-08 브라우저 측정으로 고친 HTML 결함 4건(상류 커밋 7b6378a) 중 이 포트에 없던 2건. 둘 다 이 편집기 자신의 읽기로는 완벽하게 돌아와서 왕복 테스트로는 보이지 않는다. 나머지 2건(RTF 가로 병합 기하 표기, RTF 용지)은 이미 있었다.
변경
<br/>을 함께 쓰고, 읽기는data-are-empty가 있으면 그<br/>을 버린다(문단과 목록 항목 모두 — 안 버리면 한 줄이 두 줄로 불어난다). 표식 없는 외부 빈 요소는 여전히 버리고, 외부<p><br></p>은 여전히 빈 줄.<img>가 같은 줄에 붙었다. 셀에 그림이 있으면 문단을 요소로 쓴다. 문단 하나뿐인 셀은 그대로.검증
HtmlExternalRenderingTests8개(상류 이식 + 빈 목록 항목). 수정 전 쓰기 쪽 3건 빨강.<br>버리기 제거 → 3건, 목록 항목 → 1건, 그림 규칙 제거 → 1건 빨강.공개 표면 변화 없음.
🤖 Generated with Claude Code