Skip to content

Commit

Permalink
fix xml escape char
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed Oct 13, 2024
1 parent fdafb04 commit ccf09ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ private static string FillWithInterfaceMethods(List<ApiEndpointsMetadata> apis)
foreach (ApiEndpointsMetadata metadata in apis)
{
resultBuilder.AppendLine($@" /// <summary>");
resultBuilder.AppendLine($@" /// <code>CN: {metadata.Chinese}</code>");
resultBuilder.AppendLine($@" /// <code>OS: {metadata.Oversea}</code>");
resultBuilder.AppendLine($@" /// <code>CN: {metadata.Chinese?.Replace("&", "&amp;")}</code>");
resultBuilder.AppendLine($@" /// <code>OS: {metadata.Oversea?.Replace("&", "&amp;")}</code>");
resultBuilder.AppendLine($@" /// </summary>");
resultBuilder.AppendLine($@" string {metadata.MethodName};");
resultBuilder.AppendLine();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<PropertyGroup>
<PackageId>Snap.Hutao.SourceGeneration</PackageId>
<Version>1.1.22</Version>
<Version>1.1.23</Version>
<Authors>DGP Studio</Authors>
<IncludeBuildOutput>false</IncludeBuildOutput>
<DevelopmentDependency>true</DevelopmentDependency>
Expand Down

0 comments on commit ccf09ef

Please sign in to comment.