Skip to content

Strip line comment markers from component docs; release 4.3.4 - #74

Merged
Zir0-93 merged 1 commit into
masterfrom
fix/strip-line-comment-markers
Sep 15, 2026
Merged

Zir0-93 merged 1 commit into
masterfrom
fix/strip-line-comment-markers

Conversation

@Zir0-93

@Zir0-93 Zir0-93 commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Component comments that arrive with // or /// on every line reached diagrams with the markers intact. C# leading comments come through this way today. DocCommentCharacterStrippedText only 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.
  • striffComponentDocTextStripsAPlainLineComment
  • striffComponentDocTextKeepsSlashesInsideALine: a URL keeps its //.

mvn verify passes (212 tests, 0 failures).

Bumps the version to 4.3.4 in pom.xml and the README (4.3.3 is already released), so merging publishes it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UiCypqVtxVURqeGmE37JiC

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
Zir0-93 force-pushed the fix/strip-line-comment-markers branch from b187052 to 82b2ee4 Compare September 14, 2026 22:44
@Zir0-93 Zir0-93 changed the title Strip line comment markers from component docs; release 4.3.3 Strip line comment markers from component docs; release 4.3.4 Sep 14, 2026
@Zir0-93
Zir0-93 merged commit 270ce68 into master Sep 15, 2026
6 checks passed
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