Skip to content

Fix section comments with the prism parser#1639

Merged
tompng merged 1 commit intoruby:masterfrom
Earlopain:sections-prism
Mar 12, 2026
Merged

Fix section comments with the prism parser#1639
tompng merged 1 commit intoruby:masterfrom
Earlopain:sections-prism

Conversation

@Earlopain
Copy link
Copy Markdown
Contributor

The section expects a non-formatted comment.
Closes #1638

Can be simplified once the ripper parser is removed. It currently passes the comment text as is and transforms it in the section class itself.
The prism parser now does it outside of that class.

@Earlopain Earlopain had a problem deploying to fork-preview-protection March 9, 2026 13:58 — with GitHub Actions Failure
The section expects a non-formatted comment.
Closes ruby#1638
Can be simplified once the ripper parser is removed. It currently passes the comment text as is
and transforms it in the section class itself.
The prism parser now does it outside of that class.
@st0012 st0012 added the bug label Mar 10, 2026
@st0012 st0012 temporarily deployed to fork-preview-protection March 10, 2026 15:52 — with GitHub Actions Inactive
@matzbot
Copy link
Copy Markdown
Collaborator

matzbot commented Mar 12, 2026

🚀 Preview deployment available at: https://03783c69.rdoc-6cd.pages.dev (commit: 66a644d)

Copy link
Copy Markdown
Member

@tompng tompng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 👍

@tompng tompng merged commit d7d58e6 into ruby:master Mar 12, 2026
73 of 74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prism misparses section docs with separator

4 participants