You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The workaround is to add <br/> to every line (not maintainable) and there is no workaround that allows there to be indentation at the start of the new lines. Maybe this is something #54417 can help with, but if the non-CDATA case doesn't preserve newlines and whitespace by default, then the IDE should warn and prompt to escape the contents of the <code> element as CDATA.
/// <summary>/// <code>/// public sealed class SomeClass/// {/// public void Foo(string name)/// {/// Console.WriteLine($"Hello, {name}!");/// }////// public bool Confirm()/// {/// while (true)/// {/// var key = Console.ReadKey(intercept: true);/// if (key.Key == ConsoleKey.Y) return true;/// if (key.Key == ConsoleKey.N) return false;/// Console.Beep();/// }/// }/// }/// </code>/// </summary>classC{}
The text was updated successfully, but these errors were encountered:
Version Used: 16.10.2, 17.0.0-p1.1
The workaround is to add
<br/>
to every line (not maintainable) and there is no workaround that allows there to be indentation at the start of the new lines. Maybe this is something #54417 can help with, but if the non-CDATA case doesn't preserve newlines and whitespace by default, then the IDE should warn and prompt to escape the contents of the<code>
element as CDATA.The text was updated successfully, but these errors were encountered: