mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 09:55:28 +02:00
Trim code
This commit is contained in:
@@ -19,6 +19,6 @@ export default function(text: string) {
|
|||||||
type: 'code',
|
type: 'code',
|
||||||
content: code,
|
content: code,
|
||||||
code: match[1],
|
code: match[1],
|
||||||
html: genHtml(match[1])
|
html: genHtml(match[1].trim())
|
||||||
} as TextElementCode;
|
} as TextElementCode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user