FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Refactor HtmlRenderer and RendererContext by ani28-bit · Pull Request #453 · commonmark/commonmark-java · GitHub

Repository navigation

Refactor HtmlRenderer and RendererContext - #453

Open
ani28-bit wants to merge 3 commits into
commonmark:mainfrom
ani28-bit:refactor-html-renderer
Open

ani28-bit wants to merge 3 commits into
commonmark:mainfrom
ani28-bit:refactor-html-renderer

Conversation

Copy link
Copy Markdown

Summary

This PR refactors HtmlRenderer and RendererContext to improve readability, maintainability, and separation of responsibilities without changing functionality.

Changes

  • Extracted and staticized node renderer creation in HtmlRenderer.
  • Extracted initialization logic from RendererContext.
  • Improved the Single Responsibility Principle (SRP) in RendererContext.

Verification

  • All existing tests pass successfully with mvn test.
  • No external behavior or API changes were introduced.

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL