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
There appears to be an issue with the content assist completion proposal display, where raw HTML is shown to the user. This seems to stem from the method org.eclipse.lsp4e.operations.hover.FocusableBrowserInformationControl.styleHtml(), which inserts styles at the -1 position, thereby disrupting pre-existing elements in the content. The link to the specific line in the source code is here.
The issue is further exacerbated by the LSCompletionProposal.getAdditionalProposalInfo() method. This method doesn't seem to allow for a valid <head> element in completion proposal details, as it wraps entirety of org.eclipse.lsp4j.CompletionItem.getDetail() return value within a <p> (paragraph), as shown here. As per HTML standards, the <head> element cannot be contained within a <p> element.
There appears to be an issue with the content assist completion proposal display, where raw HTML is shown to the user. This seems to stem from the method
org.eclipse.lsp4e.operations.hover.FocusableBrowserInformationControl.styleHtml()
, which inserts styles at the-1
position, thereby disrupting pre-existing elements in the content. The link to the specific line in the source code is here.The issue is further exacerbated by the
LSCompletionProposal.getAdditionalProposalInfo()
method. This method doesn't seem to allow for a valid<head>
element in completion proposal details, as it wraps entirety oforg.eclipse.lsp4j.CompletionItem.getDetail()
return value within a<p>
(paragraph), as shown here. As per HTML standards, the<head>
element cannot be contained within a<p>
element.The problem was originally discovered in vgcpge/eclipse.copilot#6
The text was updated successfully, but these errors were encountered: