Fix elf page description display issue

This commit is contained in:
Sakura Knoll
2022-01-27 23:36:07 +09:00 Unverified
parent 493f539a42
commit 5e02e0e83e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -116,6 +116,7 @@ const ElfShowPage = ({ elf }: ElfShowPageProps) => {
p: 2, p: 2,
borderBottom: 'default', borderBottom: 'default',
'&:last-child': { borderBottom: 'none' }, '&:last-child': { borderBottom: 'none' },
whiteSpace: 'pre-wrap',
}} }}
> >
{translate( {translate(
+1 -1
View File
@@ -70,7 +70,7 @@ function parseElfData(rawData: string) {
.map((data) => data.replace(/#+\s/, '').trim()) .map((data) => data.replace(/#+\s/, '').trim())
return { return {
name, name,
description, description: description.replace(/\\\*/g, '*'),
} }
}) })
}) })