1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-09 09:39:34 -05:00

Trim code

This commit is contained in:
syuilo 2018-08-16 04:42:44 +09:00
parent d8f8e19d06
commit bf077da72f

View file

@ -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;
}