mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
Trim code
This commit is contained in:
parent
3113e30c41
commit
cccd889449
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user