Skip to content

Commit

Permalink
Allow rich markdown comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed May 6, 2024
1 parent d7a709c commit 6e7538e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MyApp.ServiceInterface/AiServerServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ public static string GenerateSummary(this string body)

public static string GenerateComment(this string body)
{
body = body.Replace("\r\n", " ").Replace('\n', ' ');
// body = body.Replace("\r\n", " ").Replace('\n', ' ');
return body;
}

public static string GenerateModelComment(this string body)
{
body = body.TrimStart('#').Replace("\r\n", " ").Replace('\n', ' ');
// body = body.TrimStart('#').Replace("\r\n", " ").Replace('\n', ' ');
return body;
}

Expand Down

0 comments on commit 6e7538e

Please sign in to comment.