From b8b558d37738af8344d19934adcb50f895f4b6d7 Mon Sep 17 00:00:00 2001 From: Hakan Nilsson Date: Wed, 2 Oct 2024 00:13:23 +0200 Subject: [PATCH] fjlai --- apps/els_lsp/src/els_eep48_docs.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/els_lsp/src/els_eep48_docs.erl b/apps/els_lsp/src/els_eep48_docs.erl index 8de547a1..a2b8c488 100644 --- a/apps/els_lsp/src/els_eep48_docs.erl +++ b/apps/els_lsp/src/els_eep48_docs.erl @@ -560,7 +560,7 @@ render_docs(Str, State, Pos, Ind, D) when is_integer(hd(Str)) -> %% This is a string, convert it to binary. - render_docs(unicode:characters_to_binary(Str), State, Pos, Ind, D); + render_docs([unicode:characters_to_binary(Str)], State, Pos, Ind, D); render_docs(Elems, State, Pos, Ind, D) when is_list(Elems) -> lists:mapfoldl( fun(Elem, P) ->