Skip to content

Commit 98e078c

Browse files
author
Akos Kitta
committed
Do not escape line breaks for 'window/showMessage'
Theia cannot handle them. Signed-off-by: Akos Kitta <[email protected]>
1 parent 4d6cc2f commit 98e078c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: handler/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ func (handler *InoHandler) parseCommandArgument(rawArg interface{}) interface{}
840840
func (handler *InoHandler) showMessage(ctx context.Context, msgType lsp.MessageType, message string) {
841841
params := lsp.ShowMessageParams{
842842
Type: msgType,
843-
Message: strings.ReplaceAll(message, "\n", "<br>"),
843+
Message: message,
844844
}
845845
handler.StdioConn.Notify(ctx, "window/showMessage", &params)
846846
}

0 commit comments

Comments
 (0)