mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
Trim code
This commit is contained in:
parent
d8f8e19d06
commit
bf077da72f
@ -19,6 +19,6 @@ export default function(text: string) {
|
||||
type: 'code',
|
||||
content: code,
|
||||
code: match[1],
|
||||
html: genHtml(match[1])
|
||||
html: genHtml(match[1].trim())
|
||||
} as TextElementCode;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user