Skip to content

Commit d069c2d

Browse files
lint
1 parent 97fcccd commit d069c2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/module/src/ConsoleInternal/components/markdown-view.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ export const markdownConvert = async (markdown: string, extensions?: ShowdownExt
5151
}
5252
});
5353

54-
const reverseString = (str: string) => str.split('').reverse().join('');
54+
const reverseString = (str: string) =>
55+
str
56+
.split('')
57+
.reverse()
58+
.join('');
5559

5660
// replace code fences that end in a double curly brace (which are used by our custom md extensions) with non
5761
// markdown formatting related tokens so that marked doesn't try to parse them as code spans

0 commit comments

Comments
 (0)