Fix elf page description display issue
This commit is contained in:
@@ -116,6 +116,7 @@ const ElfShowPage = ({ elf }: ElfShowPageProps) => {
|
||||
p: 2,
|
||||
borderBottom: 'default',
|
||||
'&:last-child': { borderBottom: 'none' },
|
||||
whiteSpace: 'pre-wrap',
|
||||
}}
|
||||
>
|
||||
{translate(
|
||||
|
||||
@@ -70,7 +70,7 @@ function parseElfData(rawData: string) {
|
||||
.map((data) => data.replace(/#+\s/, '').trim())
|
||||
return {
|
||||
name,
|
||||
description,
|
||||
description: description.replace(/\\\*/g, '*'),
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user