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
Copy file name to clipboardExpand all lines: src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/Cohost/CohostWrapWithTagEndpoint.cs
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -78,9 +78,19 @@ public ImmutableArray<Registration> GetRegistrations(VSInternalClientCapabilitie
78
78
request,
79
79
cancellationToken).ConfigureAwait(false);
80
80
81
-
// TODO: Consider if we need to fix HTML text edits in the cohost scenario
82
-
// The original language server implementation calls FormattingUtilities.FixHtmlTextEdits
83
-
// but this might not be necessary in the cohost context
81
+
if(htmlResponse?.TextEditsis not null)
82
+
{
83
+
// Fix the HTML text edits to handle any tilde characters in the generated document
0 commit comments