Skip to content

fix(rst): leftover include same-line after filename - #502

Merged
HaoZeke merged 1 commit into
mainfrom
leftover/rst-include
Sep 16, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
leftover/rst-include

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Docutils leftover walker for same-line leftover after .. include:: filename.
  • The filename stays Structure. Leftover hangs as Prose and still splits. Following flush prose still splits.

Test plan

  • cargo test --test rst_container_directives leftover_include_same_line and opaque_directives_stay_frozen on the remote builder

Docutils leftover after .. include:: filename hangs as Prose and
still splits. The filename stays Structure. Following flush prose
still splits.
@HaoZeke
HaoZeke merged commit e4b955d into main Sep 16, 2026
24 of 25 checks passed
@HaoZeke
HaoZeke deleted the leftover/rst-include branch September 16, 2026 09:40
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