section-closed-by-pagebreaker

A PageBreaker closes all open root-level Sections; content after the break belongs to the new Page, not the old Section

§9.5.2

Input

= Chapter

In chapter.

---

Outside.

Pages

- children:
    - type: Section
      level: 1
      heading:
        - type: Text
          value: Chapter
      children:
        - type: Paragraph
          children:
            - type: Text
              value: In chapter.
- children:
    - type: Paragraph
      children:
        - type: Text
          value: Outside.