Skip to content

Octo 11612 - #432

Open
OlteanuRares wants to merge 6 commits into
mainfrom
OCTO-11612
Open

OlteanuRares wants to merge 6 commits into
mainfrom
OCTO-11612

Conversation

@OlteanuRares

@OlteanuRares OlteanuRares commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

_recreate_text resolves the <p>'s region once, splits the caption's nodes into consecutive runs sharing one region, and wraps a run in <span region=...> when its region differs from the one in effect. A run that already matches takes no wrapper, so single-layout captions are untouched.
Breaks are region-neutral: a run absorbs one only when it continues past it. A style tag whose partner falls outside its run still takes no wrapper, that span would cross another, but it no longer costs the text beside it a wrapper too.
Text nodes resolve through a new RegionCreator.get_node_positioning_info that neither cascades nor defaults, so
None means inherit rather than fall back to bottom.
_span_stack entries became(emitted, region_id), which is what lets the unwind loop close only real spans.

@OlteanuRares
OlteanuRares requested a review from a team as a code owner September 16, 2026 13:50
@github-actions

Copy link
Copy Markdown

🟢 PR Compliance Review

Risk Level: LOW

  • Compliance Issues: 0 (0 critical)
  • Regressions: 0

SAFE TO MERGE - No critical issues found

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟢 PR Compliance Review

Risk Level: LOW

  • Compliance Issues: 0 (0 critical)
  • Regressions: 0

SAFE TO MERGE - No critical issues found

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟢 PR Compliance Review

Risk Level: LOW

  • Compliance Issues: 0 (0 critical)
  • Regressions: 0

SAFE TO MERGE - No critical issues found

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟢 PR Compliance Review

Risk Level: LOW

  • Compliance Issues: 0 (0 critical)
  • Regressions: 0

SAFE TO MERGE - No critical issues found

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟢 PR Compliance Review

Risk Level: LOW

  • Compliance Issues: 0 (0 critical)
  • Regressions: 0

SAFE TO MERGE - No critical issues found

Full report available in workflow artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant