Skip to content

v0.11.6 leftover native-parser walkers - #503

Merged
HaoZeke merged 33 commits into
mainfrom
develop
Sep 20, 2026
Merged

HaoZeke merged 33 commits into
mainfrom
develop

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Leftover native-parser walkers on develop.

  • RST wrap-created section adornment skip-cut (snapper-7xd3)
  • void type-6 HTML does not swallow following prose (snapper-56tj)
  • leftover include/raw/literalinclude, wrap-created org/md, extra-compact DL
  • site 404
  • terra: cargo test --lib 917 ok; leftover html_type6_void and wrap_created_rst_section ok

Process snapper-n7cg: land on develop; main only when green. origin keeps only main and develop.

Docutils leftover after .. include:: filename hangs as Prose and
still splits. The filename stays Structure. Following flush prose
still splits.
org-element drawer begin is the whole line. Leftover after :NAME: is
not a drawer, so wrap skip-cut prefix-matches the first token the
same way DEADLINE leftover already does.
org-element plain links include shell: mailto: doi: id: and siblings.
Wrap skip-cut only kept file: and http(s) off column 0. Prefix-match
the same table the leftover path walker uses.
Docutils raw takes a format argument. Same-line leftover after
.. raw:: html hangs and splits the same way include leftover after
the filename already does.
Sphinx literalinclude takes a filename argument. Same-line leftover
after the path hangs and splits like include leftover.
Same-line leftover after .. raw:: html hung as Prose and never
entered the directive body, so the next indented HTML line was
a hung paragraph. Freeze that body after the leftover.
ol.el built-in plain links include man: docview: shortdoc:. The
leftover path walker now treats them like file: so leftover hangs
and wrap cannot park the prefix at column 0.
pulldown leftover : and ~ at column 0 are definition list markers.
Wrap now treats them as block openers so Markdown escapes the
wrap-created token. ~~ strike and ~~~ fences stay unchanged.
GFM leftover flanking-pipe rows match TABLE_ROW_RE. Wrap now treats
a column-0 | as a block opener so Markdown escapes the leftover pipe.
# Conflicts:
#	src/parser/rst.rs
#	tests/rst_container_directives.rs
DEADLINE / SCHEDULED / CLOSED plus the stamp stay Structure. Text
after the timestamp is leftover Prose. Bare DEADLINE without a stamp
is still a paragraph.
org-element treats an incomplete #+BEGIN_QUOTE / CENTER / NOTE (and
other special-blocks) as a paragraph. Closed containers stay containers.
rustfmt import order. CatchFileBetweenTags* is leftover. Wrap skip-cut
uses the planning KEY prefix so DEADLINE: cannot start a line. After a
blank, a 4-space list-looking line is indented code.
Do not flush a definition body as Structure when the next :/~ marker
opens. rustfmt uses the crate edition so CI format check matches.
Unknown paths were HTTP 200 with the homepage. Ship 404.html and
tell Pages to use it.
Docutils Body.line is a solid adornment at column 0. rst_opens_block
omitted it, so wrap parked ==== at column 0 and the next parse minted
a section. Skip-cut keeps the token with the previous line.
hr/col/link/base have no closer. Nest never hit 0, so leftover after a
bare <hr> was Structure. Void type-6 ends on the tag line.
@HaoZeke
HaoZeke merged commit 19453e3 into main Sep 20, 2026
25 checks passed
@HaoZeke
HaoZeke deleted the develop branch September 20, 2026 09:36
@HaoZeke
HaoZeke restored the develop branch September 20, 2026 09:36
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