Skip to content

Commit c232874

Browse files
committed
Removed character replacement.
1 parent 8062185 commit c232874

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/GraphODataTemplateWriter/CodeHelpers/TypeScript/TypeHelperTypeScript.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ public static String UpperCaseFirstChar(this String s)
6262

6363
public static string GetSanitizedLongDescription(this OdcmProperty property)
6464
{
65-
var description = property.LongDescription ?? property.Description;
66-
if (description != null)
67-
{
68-
return description.Replace("<", "&lt;").Replace(">", "&gt;").Replace("&", "&amp;");
69-
}
70-
return null;
65+
return property.LongDescription ?? property.Description;
7166
}
7267
}
7368
}

0 commit comments

Comments
 (0)