David Wengier
David Wengier
Looks like this is a quirk of the Html formatter in VS actually. In a plain Html document, it seems like start tags inside a `` are moved to line...
Our Regex for `` tags only supports self-closing tags: https://github.com/dotnet/razor/blob/main/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Tooltip/DocCommentHelpers.cs#L16 It also only supports `cref` but the tag itself supports `href` and `langword` too
Nothing is wrong with Razor. That report was a KeyNotFound exception in Roslyn, that was reproducible in plain .cs files too. See my comments on the AzDo ticket for info....