Skip to content

Commit ee4b2dd

Browse files
committed
trim end of generated doc code callouts
(cherry picked from commit 9bb4aab)
1 parent 939b22b commit ee4b2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DocGenerator/Documentation/Blocks/CSharpBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private string ExtractCallOutsFromCode(string value)
5454
var matches = Callout.Matches(value);
5555
var callouts = new List<string>();
5656

57-
foreach (Match match in matches) callouts.Add($"{match.Groups["callout"].Value} {match.Groups["text"].Value}");
57+
foreach (Match match in matches) callouts.Add($"{match.Groups["callout"].Value} {match.Groups["text"].Value.TrimEnd()}");
5858

5959
if (callouts.Any())
6060
{

0 commit comments

Comments
 (0)