Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kitta65 committed Apr 23, 2023
1 parent 5c06d97 commit a89cc02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ export function convert2MarkdownItems(
arg: string[] | Record<string, string>
): LSP.MarkupContent {
function escape(str: string) {
return str.replaceAll("<", "\\<").replaceAll(">", "\\>").replaceAll("_", "\\_");
return str
.replaceAll("<", "\\<")
.replaceAll(">", "\\>")
.replaceAll("_", "\\_");
}

let value = "";
Expand Down

0 comments on commit a89cc02

Please sign in to comment.