Skip to content

Commit 9934c88

Browse files
boblodgettdscpinheiro
authored andcommitted
Escape double quote characters within the synopsis output to the AssemblyDescription.
1 parent 4674f1d commit 9934c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/ServiceClientGeneratorLib/ServiceConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public string AssemblyDescription(
230230

231231
var postamble =
232232
includePostamble
233-
? $"{ (!string.IsNullOrEmpty(Synopsis) ? Synopsis : ServiceId) }"
233+
? $"{ (!string.IsNullOrEmpty(Synopsis) ? Synopsis.Replace("\"", "\\\"") : ServiceId) }"
234234
: "";
235235
return $"{preamble}{body}{postamble}";
236236
}

0 commit comments

Comments
 (0)