Skip to content

Conversation

@vinistock
Copy link
Collaborator

@vinistock vinistock commented Dec 24, 2025

Continuing the work from #1389. This PR standardizes the Verbatim element to a consistent style and starts inheriting from Element.

I noticed that the normalize method had incorrect documentation. It said that we normalize 3+ line breaks to 2, but instead it normalizes 2+ to 1. I confirmed that this is the case based on existing tests as well.

I tried to refactor the implementation a little bit to make it more succinct.

@vinistock vinistock self-assigned this Dec 24, 2025
@matzbot
Copy link
Collaborator

matzbot commented Dec 24, 2025

🚀 Preview deployment available at: https://65da4c13.rdoc-6cd.pages.dev (commit: 98a520e)

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.

3 participants