Strip line comment markers from component docs; release 4.3.4 - #74
Merged
Merged
Conversation
Component comments that arrive with // or /// on each line, as C# leading comments do today, reached diagrams with the markers intact, because only block-comment characters were removed. A leading //, /// or //! marker is now removed from every line; a // inside a line, such as in a URL, is kept. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiCypqVtxVURqeGmE37JiC
Zir0-93
force-pushed
the
fix/strip-line-comment-markers
branch
from
September 14, 2026 22:44
b187052 to
82b2ee4
Compare
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Component comments that arrive with
//or///on every line reached diagrams with the markers intact. C# leading comments come through this way today.DocCommentCharacterStrippedTextonly removed block-comment characters (/*,*/,*).A leading
//,///or//!marker, and one following space, is now stripped from every line before the existing block-comment cleanup. A//inside a line, such as in a URL, is kept.The root cause is tracked in hadi-technology/clarpse#185. This change renders cleanly whatever the parser hands over.
Tests (
TextTest):striffComponentDocTextStripsLineCommentMarkersFromEveryLine: a/// <summary>block renders with no slashes.striffComponentDocTextStripsAPlainLineCommentstriffComponentDocTextKeepsSlashesInsideALine: a URL keeps its//.mvn verifypasses (212 tests, 0 failures).Bumps the version to 4.3.4 in
pom.xmland the README (4.3.3 is already released), so merging publishes it.🤖 Generated with Claude Code
https://claude.ai/code/session_01UiCypqVtxVURqeGmE37JiC