fix(layout): start a table in a paragraph of spaces on the next page as when alone - #390
Merged
airmang merged 1 commit intoOct 2, 2026
Conversation
…as when alone Hancom lays a table placed top and bottom in a paragraph holding nothing else but spaces on one line out as when the paragraph holds the table alone, when the table does not start at the paragraph's place: the table starts at the next page's top, the paragraph's line stays, and the text after goes on under that line. So for a table set not to split too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
airmang
deleted the
fix/page-estimate-table-and-spaces-starting-on-the-next-page
branch
October 2, 2026 18:24
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.
바뀐 점
쪽 수 추정(실험,
estimate_pages)이 위아래로 둔 표 뒤에 공백만 있는 한 줄 문단을 놓을 때, 표가 그 문단 자리에서 시작하지 못하면 한/글처럼 놓게 한다.a top-and-bottom table anchored in text that starts on the next page)이었다.pageBreak="NONE")는 문단 줄까지 표와 함께 다음 쪽으로 보냈다._Para.spaced로 표시한다._Paginator._anchored는 그 문단의 표가 다음 쪽에서 시작하면 표 혼자인 문단처럼 흘린다(_flow).테스트
tests/test_layout_page_estimate.py의HANCOM_PAGES에 한/글 저장본 셋을 더한다. 캐시가 있을 때와 없을 때를 모두 시험한다.🤖 Generated with Claude Code