Skip to content

Make <preface> not produce a new page by default#242

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/preface-no-chunk
Open

Make <preface> not produce a new page by default#242
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/preface-no-chunk

Conversation

@lacatoire
Copy link
Contributor

Summary

  • <preface> elements are now rendered inline in the parent page instead of being chunked into separate pages
  • Explicit annotations (chunk:true or phd:chunk="true") can still force chunking
  • Both the indexer (Index.php) and the PHP XHTML renderer are updated consistently

Test plan

  • New test tests/index/preface_no_chunk.phpt verifies default preface is not chunked, annotations="chunk:true" forces chunking, and annotations="chunk:false" remains non-chunked
  • Existing indexing_001.phpt and bug_GH-98.phpt still pass

Preface elements are now rendered inline in the parent page instead of
being chunked into separate pages. Explicit annotations like
chunk:true or phd:chunk="true" can still force chunking.
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