-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
According to to DocFx Contributor Guide, the autorest.powershell docs generator is generating content that is considered as disallowed html tags.
Example Build Report:-
For Example:-
Get1
Get-MgDeviceXXXX-OutFile <String>
-BodyParameter <SomeProperty>
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
<SomeProperty> is considered a disallowed html tag.
It should be \<SomeProperty\> where the angle brackets are escaped.
The responsible code is located here:-
autorest.powershell/powershell/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs
Line 414 in 36670d7
| var type = ParameterType != typeof(SwitchParameter) ? $" <{ParameterType.ToSyntaxTypeName()}>" : String.Empty; |
<{ParameterType.ToSyntaxTypeName()}> should be escaped.